Re: [BUGS] BUG #7514: postgres -k no longer works with spaces in the path

2012-09-07 Thread Murray Cumming
On Tue, 2012-09-04 at 20:22 +0200, Murray Cumming wrote: > To be honest, I don't have much interest in, or understanding of, this > -k option anyway. I just use it because, when starting my temporary > postgresql instance, it otherwise defaults to /var/run/postgresql/ (at > least in this distro bui

Re: [BUGS] BUG #7514: postgres -k no longer works with spaces in the path

2012-09-06 Thread Robert Haas
On Wed, Sep 5, 2012 at 8:55 PM, Tom Lane wrote: > Peter Eisentraut writes: >> Maybe it would be easier if multiple -k options accumulated. > > After further thought I'm not very enamored of that concept. We've made > considerable compromises to ensure that every postmaster command-line > option

Re: [BUGS] BUG #7514: postgres -k no longer works with spaces in the path

2012-09-05 Thread Tom Lane
Peter Eisentraut writes: > Maybe it would be easier if multiple -k options accumulated. After further thought I'm not very enamored of that concept. We've made considerable compromises to ensure that every postmaster command-line option corresponds exactly to some GUC parameter; it does not seem

Re: [BUGS] BUG #7514: postgres -k no longer works with spaces in the path

2012-09-05 Thread Tom Lane
Peter Eisentraut writes: > Maybe it would be easier if multiple -k options accumulated. Hm, interesting thought, but how would we make that play in the generic GUC support? Or are you imagining that we'd just kluge up -k with some single-purpose code? regards, tom lane

Re: [BUGS] BUG #7514: postgres -k no longer works with spaces in the path

2012-09-05 Thread Peter Eisentraut
On 9/4/12 2:22 PM, Murray Cumming wrote: > On Tue, 2012-09-04 at 10:31 -0400, Tom Lane wrote: >> murr...@murrayc.com writes: >>> At some point, probably in 9.1.5, the -k option to Postgres ("Unix-domain >>> socket location" in --help), stopped accepting paths that contain spaces. >> >>> For instanc

Re: [BUGS] BUG #7514: postgres -k no longer works with spaces in the path

2012-09-04 Thread Murray Cumming
On Tue, 2012-09-04 at 10:31 -0400, Tom Lane wrote: > murr...@murrayc.com writes: > > At some point, probably in 9.1.5, the -k option to Postgres ("Unix-domain > > socket location" in --help), stopped accepting paths that contain spaces. > > > For instance, > > -k '/tmp/testglom2FPDKW/path with spa

Re: [BUGS] BUG #7514: postgres -k no longer works with spaces in the path

2012-09-04 Thread Tom Lane
murr...@murrayc.com writes: > At some point, probably in 9.1.5, the -k option to Postgres ("Unix-domain > socket location" in --help), stopped accepting paths that contain spaces. > For instance, > -k '/tmp/testglom2FPDKW/path with spaces/some_postgres_data' > It now fails with this error: > FATA

[BUGS] BUG #7514: postgres -k no longer works with spaces in the path

2012-09-03 Thread murrayc
The following bug has been logged on the website: Bug reference: 7514 Logged by: Murray Cumming Email address: murr...@murrayc.com PostgreSQL version: 9.1.5 Operating system: Fedora Linux 17 Description: At some point, probably in 9.1.5, the -k option to Postgres ("Un