Skip site navigation (1) Skip section navigation (2)

pgsql: Allow embedded spaces without quoting inunix_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 inunix_socket_directories
Date: 2012-09-06 15:44:04
Message-ID: (view raw, whole thread or download thread mbox)
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.



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

pgsql-committers by date

Next:From: Robert HaasDate: 2012-09-06 19:56:06
Subject: pgsql: Fix "too many arguments" messages not to index off the end ofar
Previous:From: Peter EisentrautDate: 2012-09-06 04:53:08
Subject: pgsql: Translation updates

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group