pg_ctl "starting" postmaster

Started by Bruce Momjianover 22 years ago1 messagespatches
Jump to latest
#1Bruce Momjian
bruce@momjian.us

When pg_ctl is used to start the postmaster without the -w flag, it says

postmaster successfully started

when in fact it should be "postmaster starting" because it hasn't
"started" yet, or at least isn't accepting connections yet. A wait for
start says:

waiting for postmaster to start...done
postmaster successfully started

which is accurate.

This applied patch makes that adjustment and a similar one for stop.
Someone complained about this a few months ago.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Attachments:

/bjm/difftext/plainDownload+9-7