Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 14a4f6f

Browse files
committed
pg_restore -jN does not equate "multiple jobs", so partly revert the
previous patch. Per note from Tom.
1 parent d29a2ee commit 14a4f6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/pg_dump/pg_restore.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*
3535
*
3636
* IDENTIFICATION
37-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_restore.c,v 1.98 2009/04/13 21:03:36 alvherre Exp $
37+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_restore.c,v 1.99 2009/04/14 00:06:35 alvherre Exp $
3838
*
3939
*-------------------------------------------------------------------------
4040
*/
@@ -316,7 +316,7 @@ main(int argc, char **argv)
316316
/* Can't do single-txn mode with multiple connections */
317317
if (opts->single_txn && opts->number_of_jobs > 1)
318318
{
319-
fprintf(stderr, _("%s: options -1/--single-transaction and -j/--jobs cannot be used together\n"),
319+
fprintf(stderr, _("%s: cannot specify both --single-transaction and multiple jobs\n"),
320320
progname);
321321
exit(1);
322322
}

0 commit comments

Comments
 (0)