Re: pg_ctl restart bug

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: jmitchell(at)greatbridge(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: pg_ctl restart bug
Date: 2001-04-20 20:00:36
Message-ID: 27872.987796836@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2001-04-20 20:25:09 Re: pg_ctl restart bug
Previous Message Peter Eisentraut 2001-04-20 19:53:27 Re: grant insert for single tables does not work