]> granicus.if.org Git - postgresql/commit
Allow embedded spaces without quoting in unix_socket_directories entries.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Sep 2012 15:43:51 +0000 (11:43 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 Sep 2012 15:43:51 +0000 (11:43 -0400)
commitd2286a98ef3fb88bafb57381b4c20b8b878827f1
tree1c5eba9b09154ecad3db11aeaa195cd1bcd1f00c
parent25f4fe4e461072a0371dc6d6cedbf08a04477fcd
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.
src/backend/utils/adt/varlena.c