]> granicus.if.org Git - postgresql/commit
pg_ctl: improve handling of invalid data directory
authorBruce Momjian <bruce@momjian.us>
Sat, 8 Mar 2014 17:15:25 +0000 (12:15 -0500)
committerBruce Momjian <bruce@momjian.us>
Sat, 8 Mar 2014 17:15:25 +0000 (12:15 -0500)
commit11d205e2bd66cefe0b7d69c02e831cd055cbb5bb
tree2c28821e804670cdd88f4bfc768abc9cd35d7184
parent3624acd342d7b5ad6bb07730b8bac5ed5874fc23
pg_ctl:  improve handling of invalid data directory

Return '4' and report a meaningful error message when a non-existent or
invalid data directory is passed.  Previously, pg_ctl would just report
the server was not running.

Patch by me and Amit Kapila
Report from Peter Eisentraut
doc/src/sgml/ref/pg_ctl-ref.sgml
src/bin/pg_ctl/pg_ctl.c