Re: quote_boolean() and friends missing

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: quote_boolean() and friends missing
Дата
Msg-id 6920.1119278592@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: quote_boolean() and friends missing  (Markus Bertheau ☭ <twanger@bluetwanger.de>)
Список pgsql-hackers
Markus Bertheau ☭ <twanger@bluetwanger.de> writes:
>> Just assign the value to a text variable and then use quote_literal.

> Isn't that a workaround? Or is that the way such things are done in
> plpgsql?

It's the way it's done --- plpgsql does this by invoking the datatype
output function and then the text input function.  There has been talk
of formalizing that in other contexts by making an explicit cast to text
do that for every datatype, but nothing's been done about it yet.
        regards, tom lane


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

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Re: [PATCHES] default database creation with initdb
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] default database creation with initdb