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

From mha@postgresql.org (Magnus Hagander)
Subject pgsql: Throw an error when using -C and -1 at the same time in
Date
Msg-id 20090113114503.39E03754877@cvs.postgresql.org
Whole thread Raw
List 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_3_STABLE

Modified Files:
--------------
    pgsql/src/bin/pg_dump:
        pg_backup_archiver.c (r1.152 -> r1.152.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_archiver.c?r1=1.152&r2=1.152.2.1)

pgsql-committers by date:

Previous
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Throw an error when using -C and -1 at the same time in
Next
From: alvherre@postgresql.org (Alvaro Herrera)
Date:
Subject: pgsql: Backpatch to 7.4 the part of 1.84 (from the 8.0 timeline) that