Re: quote_boolean() and friends missing

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: quote_boolean() and friends missing
Дата
Msg-id 20050620073005.Q82213@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Re: quote_boolean() and friends missing  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: quote_boolean() and friends missing  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, 20 Jun 2005, Tom Lane wrote:

> 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.

Would that work for a bytea with embedded nul characters or does that run
the risk of terminating the value early?



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

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