Detect postmaster being ready by calling psql -l rathern than

Tatsuo Ishii <ishii@postgresql.org>

Commit: 44a9639123ef9d75b9dc862f843689311c496903
Author: Tatsuo Ishii <ishii@postgresql.org>
Date: 2000-03-14T08:34:47Z
Releases: 7.1.1
Detect postmaster being ready by calling psql -l rathern than
checking postmaster.pid. It's not enough to check the existence
of postmaster.pid since DB recovery might be running.

Files

PathChange+/−
src/bin/pg_ctl/pg_ctl.sh modified +6 −5