"pg_ctl restart" fails if anything is quoted in postmaster.opts.
$ pg_ctl restart
Smart Shutdown request at Fri Apr 20 10:11:38 2001
postmaster successfully shut down
postmaster successfully started
/usr/bin/postmaster: invalid argument -- '-D'
Try '/usr/bin/postmaster --help' for more information.
$ cat postmaster.opts
/usr/bin/postmaster '-D' '/var/lib/pgsql/data'
It appears that the script doesn't cause the parameters in
postmaster.opts to get dequoted.
I think this is the source of the problem.
Joe
--
Joe Mitchell
Knowledge Engineer
Great Bridge, LLC
www.greatbridge.com