pg_ctl restart bug - Mailing list pgsql-bugs

From jmitchell@greatbridge.com
Subject pg_ctl restart bug
Date
Msg-id 3AE07765.106F6B89@greatbridge.com
Whole thread Raw
Responses Re: pg_ctl restart bug
List pgsql-bugs
"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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Postgresql date bug
Next
From: wsheldah@lexmark.com
Date:
Subject: Bug: pg_ctl restart fails