]> git.ipfire.org Git - thirdparty/postgresql.git/commit
The patch does several things:
authorMarc G. Fournier <scrappy@hub.org>
Sat, 24 Aug 1996 20:49:41 +0000 (20:49 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Sat, 24 Aug 1996 20:49:41 +0000 (20:49 +0000)
commit208a30f23db0926604a338eda4ed69b5c278d2e2
treea6b31fe54d006b5402d5dc6a3ee21dd573442116
parent2adb6d703bd255f531fc8e33c9d6abd8d6236a0b
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