PostgreSQL: Use bigserial for bigint auto increment (bug #765, regression from 3.0.0)
This commit is contained in:
parent
8762895bb3
commit
23fdbedba1
|
@ -510,7 +510,7 @@ ORDER BY connamespace, conname") as $row) {
|
|||
$val5 = $val[5];
|
||||
unset($val[5]);
|
||||
if (isset($val[6]) && $field[0] == "") { // auto_increment
|
||||
$val[1] = ($val[1] == "bigint" ? " big" : " ") . "serial";
|
||||
$val[1] = ($val[1] == " bigint" ? " big" : " ") . "serial";
|
||||
}
|
||||
if ($field[0] == "") {
|
||||
$alter[] = ($table != "" ? "ADD " : " ") . implode($val);
|
||||
|
|
|
@ -4,6 +4,7 @@ MySQL: Do not export names in quotes with sql_mode='ANSI_QUOTES' (bug #749)
|
|||
PostgreSQL: Export all FKs after all CREATE TABLE (PR #351)
|
||||
PostgreSQL: Fix dollar-quoted syntax highlighting (bug #738)
|
||||
PostgreSQL: Do not show view definition from other schema (PR #392)
|
||||
PostgreSQL: Use bigserial for bigint auto increment (bug #765, regression from 3.0.0)
|
||||
PostgreSQL 10: Support GENERATED ALWAYS BY IDENTITY (PR #386)
|
||||
MS SQL: Don't truncate comments to 30 chars (PR #376)
|
||||
Re-enable PHP warnings (regression from 4.7.8)
|
||||
|
|
Loading…
Reference in a new issue