pg_restore -jN does not equate "multiple jobs", so partly revert the
authorAlvaro Herrera
Tue, 14 Apr 2009 00:06:35 +0000 (00:06 +0000)
committerAlvaro Herrera
Tue, 14 Apr 2009 00:06:35 +0000 (00:06 +0000)
previous patch.

Per note from Tom.

src/bin/pg_dump/pg_restore.c

index b7cdcae45efd886ff39b81ed5c814acc4dc426ec..f7723dc72c9ceaef3f582a34b5cfa5c79df99da4 100644 (file)
@@ -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);
    }