Re: quote_boolean() and friends missing

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: quote_boolean() and friends missing
Дата
Msg-id 6561.1119276632@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: quote_boolean() and friends missing  (Markus Bertheau ☭ <twanger@bluetwanger.de>)
Ответы Re: quote_boolean() and friends missing  (Markus Bertheau ☭ <twanger@bluetwanger.de>)
Re: quote_boolean() and friends missing  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список pgsql-hackers
Markus Bertheau ☭ <twanger@bluetwanger.de> writes:
> Maybe quote_* is not the right name, but the functionality is needed.

I don't think so --- at least not in plpgsql, which can do this already.
Just assign the value to a text variable and then use quote_literal.
        regards, tom lane


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

Предыдущее
От: Markus Bertheau ☭
Дата:
Сообщение: Re: quote_boolean() and friends missing
Следующее
От: Markus Bertheau ☭
Дата:
Сообщение: Re: quote_boolean() and friends missing