pg_ctl restart bug

From: jmitchell(at)greatbridge(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: pg_ctl restart bug
Date: 2001-04-20 17:52:37
Message-ID: 3AE07765.106F6B89@greatbridge.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message wsheldah 2001-04-20 18:40:11 Bug: pg_ctl restart fails
Previous Message Tom Lane 2001-04-20 16:15:44 Re: Postgresql date bug