pgsql: Allow embedded spaces without quoting in unix_socket_directories

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow embedded spaces without quoting in unix_socket_directories
Date: 2012-09-06 15:44:04
Message-ID: E1T9eFQ-0007uc-6f@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2012-09-06 19:56:06 pgsql: Fix "too many arguments" messages not to index off the end of ar
Previous Message Peter Eisentraut 2012-09-06 04:53:08 pgsql: Translation updates