]> 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:44:56 +0000 (11:44 +0000)
committerMagnus Hagander <magnus@hagander.net>
Tue, 13 Jan 2009 11:44:56 +0000 (11:44 +0000)
commit3a819b0780365f4c1a759a8c52403fa4bf16e5eb
treec3ab2766865725fe264adf54ec5aea51aa7b5b3c
parent64580224f90683b3cf7a46ee84a31bf01e54a0dc
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