]> 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:03 +0000 (11:45 +0000)
committerMagnus Hagander <magnus@hagander.net>
Tue, 13 Jan 2009 11:45:03 +0000 (11:45 +0000)
commit4d4b0f35210bc7c83b73fc4e001e8873982de722
treedb0e32df8ee643e5124abb9ed7878356154032c9
parent74216bc8c88c2b8693f0b9b34331c0414d8b9795
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