Re: pg_ctl restart bug - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: pg_ctl restart bug
Date
Msg-id Pine.LNX.4.30.0104202116110.758-100000@peter.localdomain
Whole thread Raw
In response to pg_ctl restart bug  (jmitchell@greatbridge.com)
Responses Re: pg_ctl restart bug
Re: pg_ctl restart bug
Re: pg_ctl restart bug
List pgsql-bugs
jmitchell@greatbridge.com writes:

> "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'

Unless someone can show me a way to extract the command line options out
of the opts file while preserving whitespace in them, I'm going to
eliminate the quotes being put out.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter

pgsql-bugs by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: grant insert for single tables does not work
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: the operator "=" does not work for some SQL queries