Skip site navigation (1) Skip section navigation (2)

Re: pg_ctl restart bug

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: <jmitchell(at)greatbridge(dot)com>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: pg_ctl restart bug
Date: 2001-04-20 19:18:26
Message-ID: Pine.LNX.4.30.0104202116110.758-100000@peter.localdomain (view raw or flat)
Thread:
Lists: pgsql-bugs
jmitchell(at)greatbridge(dot)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(at)gmx(dot)net   http://funkturm.homeip.net/~peter


In response to

Responses

pgsql-bugs by date

Next:From: pgsql-bugsDate: 2001-04-20 19:26:06
Subject: the operator "=" does not work for some SQL queries
Previous:From: pgsql-bugsDate: 2001-04-20 19:07:02
Subject: grant insert for single tables does not work

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group