SQL repr of bytea val

Поиск
Список
Период
Сортировка
От Markus Bertheau ☭
Тема SQL repr of bytea val
Дата
Msg-id 1119275221.4688.14.camel@dicaprio.akademie1.de
обсуждение исходный текст
Ответы Re: SQL repr of bytea val
Список pgsql-sql
Hi,

I'm constructing querys on the fly in PL/pgSQL_ and need a function that
returns the SQL representation of a bytea value. I tried encode(..,
'escape') but it seems to return 8 bit ASCII values, not the \377 stuff
that's supposed to be in the bytea input syntax. Does anyone know a way
to do that?

Markus

-- 
Markus Bertheau ☭ <twanger@bluetwanger.de>



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

Предыдущее
От: Theodore Petrosky
Дата:
Сообщение: Re: info
Следующее
От: grupos
Дата:
Сообщение: Array in plpgsql with composite type