Content-Length: 273947 | pFad | http://github.com/postgrespro/postgres_cluster/commit/b44fc39fcecf58c1c93a322d71be2faee525853f
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1ba94b commit b44fc39Copy full SHA for b44fc39
src/bin/pg_dump/pg_dump.c
@@ -563,10 +563,16 @@ main(int argc, char **argv)
563
dump_inserts = 1;
564
565
if (dataOnly && schemaOnly)
566
- exit_horribly(NULL, "options -s/--schema-only and -a/--data-only cannot be used together\n");
+ {
567
+ write_msg(NULL, "options -s/--schema-only and -a/--data-only cannot be used together\n");
568
+ exit_nicely(1);
569
+ }
570
571
if (dataOnly && outputClean)
- exit_horribly(NULL, "options -c/--clean and -a/--data-only cannot be used together\n");
572
573
+ write_msg(NULL, "options -c/--clean and -a/--data-only cannot be used together\n");
574
575
576
577
if (dump_inserts && oids)
578
{
Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/b44fc39fcecf58c1c93a322d71be2faee525853f
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments