Re: bytea hex input/output

Поиск
Список
Период
Сортировка
От Michael Artz
Тема Re: bytea hex input/output
Дата
Msg-id e9c163070605161756i5fb91221wa5e3e63d2fde0bc0@mail.gmail.com
обсуждение исходный текст
Ответ на Re: bytea hex input/output  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: bytea hex input/output  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Eh, I'll just convert it all to octal, I just thought that I could get away without any middleman.

What ig going on behind the scenes?  Does it first get converted to text and then on to bytea?  Would an explicit cast get around this (perhaps with associated UDF)?

-Mike

On 5/16/06, Tom Lane <tgl@sss.pgh.pa.us> wrote:
"Michael Artz" <mlartz@gmail.com> writes:
> Silly little question, but is there something to input/output hex
> escaped data into a bytea, ala

PQescapeBytea, perhaps?  The way you are doing it has multiple problems.

                        regards, tom lane

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

Предыдущее
От: Sean Davis
Дата:
Сообщение: Re: FATAL: could not read statistics message
Следующее
От: Kenneth Downs
Дата:
Сообщение: Re: Announce: GPL Framework centered on Postgres