Fix pg_dump to dump serial columns as serials. Per pghackers discussion,
Tom Lane <tgl@sss.pgh.pa.us>
Fix pg_dump to dump serial columns as serials. Per pghackers discussion, cause SERIAL column declaration not to imply UNIQUE, so that this can be done without creating an extra index.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/datatype.sgml | modified | +24 −18 |
| doc/src/sgml/release.sgml | modified | +2 −1 |
| src/backend/parser/analyze.c | modified | +5 −11 |
| src/bin/pg_dump/pg_dump.c | modified | +211 −64 |
| src/bin/pg_dump/pg_dump.h | modified | +6 −2 |
| src/test/regress/expected/copy2.out | modified | +0 −1 |
| src/test/regress/expected/create_misc.out | modified | +0 −1 |
| src/test/regress/expected/sanity_check.out | modified | +1 −2 |