Re: Tips for storing files in the database

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Tips for storing files in the database
Дата
Msg-id 28626.1150645250@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Tips for storing files in the database  (Kevin Jenkins <gameprogrammer@rakkar.org>)
Список pgsql-general
Kevin Jenkins <gameprogrammer@rakkar.org> writes:
> Is there a way to send and read binary data directly from memory,
> without escaping characters, for SELECT and INSERT queries?

See PQexecParams --- an out-of-line bytea parameter, transmitted in
binary format, seems to be what you want on the send side.  For
reading, just ask for the result in binary format.

            regards, tom lane

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

Предыдущее
От: Kevin Jenkins
Дата:
Сообщение: Tips for storing files in the database
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Question about openSSL