mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
pg_restore -jN does not equate "multiple jobs", so partly revert the
previous patch. Per note from Tom.
This commit is contained in:
parent
d29a2ee3c0
commit
14a4f6f374
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user