]> granicus.if.org Git - postgresql/commitdiff
Fix up bad call to exit_nicely from commit af225551ef
authorAndrew Dunstan <andrew@dunslane.net>
Sat, 25 Jul 2015 22:44:37 +0000 (18:44 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Sat, 25 Jul 2015 22:44:37 +0000 (18:44 -0400)
The signature for this changed in 9.2

src/bin/pg_dump/pg_dump.c

index 69ca956c43b67ac7f510701a210ade985c2ed815..710b779c7eee30e58a736a21590f7b4f453f3a10 100644 (file)
@@ -477,7 +477,7 @@ main(int argc, char **argv)
                                if (compressLevel < 0 || compressLevel > 9)
                                {
                                        write_msg(NULL, "compression level must be in range 0..9\n");
-                                       exit_nicely(1);
+                                       exit_nicely();
                                }
                                break;