pgsql: Teach appendShellString() to not quote strings containing "-".

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Teach appendShellString() to not quote strings containing "-".
Дата
Msg-id E1bhLV7-0007xX-P7@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Teach appendShellString() to not quote strings containing "-".

Brain fade in commit a00c58314: I was thinking that a string starting with
"-" could be taken as a switch depending on command line syntax.  That's
true, but having appendShellString() quote it will not help, so we may as
well not do so.  Per complaint from Peter Eisentraut.

Branch
------
master

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

Modified Files
--------------
src/fe_utils/string_utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Repair whitespace in initdb message.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Guard against possible memory allocation botch in batchmemtuples