pgsql: Allow embedded spaces without quoting in unix_socket_directories

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Allow embedded spaces without quoting in unix_socket_directories
Дата
Msg-id E1T9eFQ-0007uc-6f@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Translation updates
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix "too many arguments" messages not to index off the end of ar