Re: pg_ctl restart bug - Mailing list pgsql-bugs

From Tom Lane
Subject Re: pg_ctl restart bug
Date
Msg-id 27872.987796836@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_ctl restart bug  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-bugs
Peter Eisentraut <peter_e@gmx.net> writes:
> 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.

Won't work if any of the options contain whitespace, which is quite
probable.  For example, my postmaster.opts currently contains

/home/postgres/testversion/bin/postmaster '-i' '-o' '-F -S 5120'

Removing the quotes will certainly break this.  We need to find a
smarter way for the script to parse the file contents.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: wrong dump order in pg_dump for new data types
Next
From: Tom Lane
Date:
Subject: Re: pg_ctl restart bug