pgsql: Allow embedded spaces without quoting in unix_socket_directories - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Allow embedded spaces without quoting in unix_socket_directories
Date
Msg-id E1T9eFQ-0007uc-6f@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Allow embedded spaces without quoting in unix_socket_directories entries.

This fix removes an unnecessary incompatibility with the old behavior of
the unix_socket_directory parameter.  Since pathnames with embedded spaces
are fairly popular on some platforms, the incompatibility could be
significant in practice.  We'll still strip unquoted leading/trailing
spaces, however.

No docs update since the documentation already implied that it worked
like this.

Per bug #7514 from Murray Cumming.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d2286a98ef3fb88bafb57381b4c20b8b878827f1

Modified Files
--------------
src/backend/utils/adt/varlena.c |   21 ++++++++++++---------
1 files changed, 12 insertions(+), 9 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Translation updates
Next
From: Robert Haas
Date:
Subject: pgsql: Fix "too many arguments" messages not to index off the end of ar