Re: Extracting data from BYTEA column to binary file using libpq

Поиск
Список
Период
Сортировка
От Daniel Verite
Тема Re: Extracting data from BYTEA column to binary file using libpq
Дата
Msg-id 676f7a06-f77a-4e5a-8b8a-5078634879f7@mm
обсуждение исходный текст
Ответ на Extracting data from BYTEA column to binary file using libpq  (Julia Jacobson <julia.jacobson@arcor.de>)
Список pgsql-general
    Julia Jacobson wrote:

>   ofstream myFile ("picture.jpg", ios::out | ios::binary);
>   myFile.write (contents);

You must specify the number of bytes to write.

Best regards,
--
Daniel
PostgreSQL-powered mail user agent and storage: http://www.manitou-mail.org

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

Предыдущее
От: Gary Fu
Дата:
Сообщение: select sql slow inside function
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: pgpool-II 3.0 + postgres 9rc1 + md5 authentication not working