]> granicus.if.org Git - postgresql/commit
Fix mistakes in pg_ctl's code for "start -w" that tries to cope with
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 20 Feb 2008 22:18:41 +0000 (22:18 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 20 Feb 2008 22:18:41 +0000 (22:18 +0000)
commit652ef8658a1de7c27233cf5270d8d1f06f128de3
treee6ec7245c50e07fb3a61714957f7e80c131b511e
parent45639b220d3888601b3ee886f0c94766706144cf
Fix mistakes in pg_ctl's code for "start -w" that tries to cope with
non-default settings for the postmaster's port number.  The code to parse
command line options and postgresql.conf entries wasn't quite right about
whitespace or quotes, and it was coded in a not-very-readable way too.
Per bug #3969 from Itagaki Takahiro, though this is more extensive than his
proposed patch (which fixed only the whitespace problem).
This code has been broken since it was put in in 8.0, so patch all the way
back.
src/bin/pg_ctl/pg_ctl.c