Re: [HACKERS] Optimize postgres protocol for fixed size arrays

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Optimize postgres protocol for fixed size arrays
Дата
Msg-id 4875.1322005944@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Optimize postgres protocol for fixed size arrays  (Oliver Jowett <oliver@opencloud.com>)
Ответы Re: [HACKERS] Optimize postgres protocol for fixed size arrays  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-jdbc
Oliver Jowett <oliver@opencloud.com> writes:
> On 23 November 2011 10:47, Mikko Tiihonen
> <mikko.tiihonen@nitorcreations.com> wrote:
>> Here is a patch that adds a new flag to the protocol that is set when all
>> elements of the array are of same fixed size.

> How does a client detect that this feature is supported?

The only way that anything like this will go in is as part of a protocol
version bump, so discoverability would reduce to knowing which protocol
you're using.  We should file this away as one of the things we might
want to do whenever there's sufficient critical mass for a new wire
protocol version.

Note that COPY BINARY files would be affected too, and so we'd want to
make sure that this sort of change is recognizable from a binary file's
header.

            regards, tom lane

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

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: Optimize postgres protocol for fixed size arrays
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: [HACKERS] Optimize postgres protocol for fixed size arrays