From 14a4f6f3748df4ff63bb2d2d01146b2b98df20ef Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Tue, 14 Apr 2009 00:06:35 +0000 Subject: [PATCH] pg_restore -jN does not equate "multiple jobs", so partly revert the previous patch. Per note from Tom. --- src/bin/pg_dump/pg_restore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/pg_dump/pg_restore.c b/src/bin/pg_dump/pg_restore.c index b7cdcae45e..f7723dc72c 100644 --- a/src/bin/pg_dump/pg_restore.c +++ b/src/bin/pg_dump/pg_restore.c @@ -34,7 +34,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/bin/pg_dump/pg_restore.c,v 1.98 2009/04/13 21:03:36 alvherre Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_restore.c,v 1.99 2009/04/14 00:06:35 alvherre Exp $ * *------------------------------------------------------------------------- */ @@ -316,7 +316,7 @@ main(int argc, char **argv) /* Can't do single-txn mode with multiple connections */ if (opts->single_txn && opts->number_of_jobs > 1) { - fprintf(stderr, _("%s: options -1/--single-transaction and -j/--jobs cannot be used together\n"), + fprintf(stderr, _("%s: cannot specify both --single-transaction and multiple jobs\n"), progname); exit(1); }