Re: Binary params in libpq

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Binary params in libpq
Дата
Msg-id 4D6C78F2.6040300@postnewspapers.com.au
обсуждение исходный текст
Ответ на Re: Binary params in libpq  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-general
On 28/02/2011 10:42 PM, Merlin Moncure wrote:

> Actually, this has always been a compile time option on the server as
> far as i remember and there is protocol support for it -- libpq tells
> you how it has been set...you've always had to deal with this
> (libpqtypes, which I've mentioned several times as the correct way to
> 'do' binary with libpq, handles this for you).  Only the default
> setting was changed.

Ah. Thanks for clarifying that.

It sounds like binary transfer is best for date, timestamp, and bytea.

--
Craig Ringer

Tech-related writing at http://soapyfrogs.blogspot.com/

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

Предыдущее
От: "David Johnston"
Дата:
Сообщение: Re: Lock ACCESS EXCLUSIVE and Select question !
Следующее
От: Aleksey Tsalolikhin
Дата:
Сообщение: Re: database is bigger after dump/restore - why? (60 GB to 109 GB)