Re: Common function for percent placeholder replacement

Поиск
Список
Период
Сортировка
От Corey Huinker
Тема Re: Common function for percent placeholder replacement
Дата
Msg-id CADkLM=f_nvLgYF1zAchqE90uYwM2cWrYmp6OB0VXWy+75HSFdw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Common function for percent placeholder replacement  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
How about this new one with variable arguments?

I like this a lot, but I also see merit in Alvaro's PERCENT_OPT variadic, which at least avoids the two lists getting out of sync.

Initially, I was going to ask that we have shell-quote-safe equivalents of whatever fixed parameters we baked in, but this allows the caller to do that as needed. It seems we could now just copy quote_identifier and strip out the keyword checks to get the desired effect. Has anyone else had a need for quote-safe args in the shell commands?

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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: appendBinaryStringInfo stuff
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Minimal logical decoding on standbys