Re: insertion of bytea

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: insertion of bytea
Дата
Msg-id 13782.1130250200@sss.pgh.pa.us
обсуждение исходный текст
Ответ на insertion of bytea  ("Chris Mair" <list@1006.org>)
Ответы Re: insertion of bytea
Список pgsql-performance
"Chris Mair" <list@1006.org> writes:
> Am I correct in assuming that even though I'm passing my 52000
> bytes as a (char *) to PQexecPrepared(), encoding/decoding is
> happening (think 0 -> \000) somewhere in the transfer?

Are you specifying it as a text or binary parameter?  Have you looked to
see if the stored data is what you expect?

            regards, tom lane

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Reindex - Is this necessary after a vacuum?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Reindex - Is this necessary after a vacuum?