]> git.ipfire.org Git - thirdparty/postgresql.git/commit
The patch does several things:
authorMarc G. Fournier <scrappy@hub.org>
Sat, 24 Aug 1996 20:54:52 +0000 (20:54 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Sat, 24 Aug 1996 20:54:52 +0000 (20:54 +0000)
commitd390886c1bee2537203bd66d6be0eabfa48e4a51
tree9c7be0bf7595892ac5ee6e5e6982be2726953f3e
parent83a0ad26235a807f26ce339e13dea94c8a3936f5
The patch does several things:

        It adds a WITH OIDS option to the copy command, which allows
dumping and loading of oids.

        If a copy command tried to load in an oid that is greater than
its current system max oid, the system max oid is incremented.  No
checking is done to see if other backends are running and have cached
oids.

        pg_dump as its first step when using the -o (oid) option, will
copy in a dummy row to set the system max oid value so as rows are
loaded in, they are certain to be lower than the system oid.

        pg_dump now creates indexes at the end to speed loading

Submitted by:  Bruce Momjian <maillist@candle.pha.pa.us>
13 files changed:
src/backend/access/heap/heapam.c
src/backend/access/transam.h
src/backend/access/transam/varsup.c
src/backend/commands/copy.c
src/backend/commands/copy.h
src/backend/nodes/parsenodes.h
src/backend/parser/gram.y
src/backend/parser/keywords.c
src/backend/tcop/utility.c
src/bin/pg_dump/common.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.h
src/bin/psql/psqlHelp.h