BUG #7514: postgres -k no longer works with spaces in the path - Mailing list pgsql-bugs

From murrayc@murrayc.com
Subject BUG #7514: postgres -k no longer works with spaces in the path
Date
Msg-id E1T7f8j-0007MM-FJ@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #7514: postgres -k no longer works with spaces in the path  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      7514
Logged by:          Murray Cumming
Email address:      murrayc@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 ("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:
FATAL:  invalid list syntax for "unix_socket_directories"

This is not critical, but it showed up in the regression tests for Glom. And
users are fairly likely to use paths with spaces.

-k apparently accepts a comma-separated list, so there should be no need to
check for spaces.

pgsql-bugs by date:

Previous
From: Pavel Stehule
Date:
Subject: function format doesn't support values with variadic flag
Next
From: Gavin Flower
Date:
Subject: Re: BUG #6239: Looking for a technical contact point for PostgreSQL compatibility issue on Windows8