Fix mistakes in pg_ctl's code for "start -w" that tries to cope with
authorTom Lane <[email protected]>
Wed, 20 Feb 2008 22:18:35 +0000 (22:18 +0000)
committerTom Lane <[email protected]>
Wed, 20 Feb 2008 22:18:35 +0000 (22:18 +0000)
commita19a7c53978ae9b53b62a6d88e496fe2568fcdd6
treeeefe3756f272dede0da686635eae74371f16e97a
parent85b792f6873b77774d3f057af7a21d1a6d545d19
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