Re: pgsql: Add new SQL function, format(text).

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pgsql: Add new SQL function, format(text).
Дата
Msg-id 201011212322.09020.andres@anarazel.de
обсуждение исходный текст
Ответ на pgsql: Add new SQL function, format(text).  (Robert Haas <rhaas@postgresql.org>)
Ответы Re: pgsql: Add new SQL function, format(text).  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-committers
On Sunday 21 November 2010 04:34:37 Robert Haas wrote:
> Add new SQL function, format(text).
>
> Currently, three conversion format specifiers are supported: %s for a
> string, %L for an SQL literal, and %I for an SQL identifier.  The latter
> two are deliberately designed not to overlap with what sprintf() already
> supports, in case we want to add more of sprintf()'s functionality here
> later.
>
> Patch by Pavel Stehule, heavily revised by me.  Reviewed by Jeff Janes
> and, in earlier versions, by Itagaki Takahiro and Tom Lane.
A tiny question: Why does that commit remove quote_ident() test cases?

Andres

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Bump catversion. Should have done this as part of format(text)
Следующее
От: Robert Haas
Дата:
Сообщение: Re: pgsql: Add new SQL function, format(text).