pgsql: Throw an error when using -C and -1 at the same time in

From: mha(at)postgresql(dot)org (Magnus Hagander)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Throw an error when using -C and -1 at the same time in
Date: 2009-01-13 11:45:01
Message-ID: 20090113114501.AC0F0754877@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
pgsql/src/bin/pg_dump:
pg_backup_archiver.c (r1.138.2.2 -> r1.138.2.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_archiver.c?r1=1.138.2.2&r2=1.138.2.3)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2009-01-13 11:45:03 pgsql: Throw an error when using -C and -1 at the same time in
Previous Message Magnus Hagander 2009-01-13 11:44:56 pgsql: Throw an error when using -C and -1 at the same time in