ECPG and bytea

Поиск
Список
Период
Сортировка
Искать
От
Lee Kindness
Тема
ECPG and bytea
Дата
Msg-id
16123.8538.839179.120406@kelvin.csl.co.uk
Список
Дерево обсуждения
ECPG and bytea Lee Kindness <lkindness@csl.co.uk>
Re: [HACKERS] ECPG and bytea Joe Conway <mail@joeconway.com>
Guys, surely some one's done this before? I've tried using
PQescapeBytea too, but still get (slightly) different output. If I try
and insert "\x02\x01\x02\x03\x04hello\x05\x64\x99\x45" I get (int
values of chars printed):

INSERT: 2   1   2   3   4 104 101 108 108 111   5 100 -103  69
SELECT: 2   1   2   3   4 104 101 108 108 111   5 100   92  50  51  49  69

hoping someone has a quick answer... if not I'll post a full source
example and look into it more...

Thanks, L.

В списке pgsql-interfaces по дате отправления
От: Keith Keller
Дата:
Сообщение: Re: Perl
От: Joe Conway
Дата:
Сообщение: Re: [HACKERS] ECPG and bytea
FAQ