]> granicus.if.org Git - postgresql/commit
Throw an error when using -C and -1 at the same time in pg_restore.
authorMagnus Hagander <magnus@hagander.net>
Tue, 13 Jan 2009 11:45:01 +0000 (11:45 +0000)
committerMagnus Hagander <magnus@hagander.net>
Tue, 13 Jan 2009 11:45:01 +0000 (11:45 +0000)
commit63ca96af30cdc79cecfdacc4bbe5913974d19b6e
treea3928141d06a3c4ff5ae7f6d06c7da630ab75f21
parentc165c25a662e4fcbb475c0d71d85e84ce27d6fa5
Throw an error when using -C and -1 at the same time in pg_restore.

It's not possible to do CREATE DATABASE inside a transaction, so previously
we just got a server error instead.

Backpatch to 8.2, which is where the -1 feature appeared.
src/bin/pg_dump/pg_backup_archiver.c