Re: [PATCHES] libpq type system 0.9a

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] libpq type system 0.9a
Дата
Msg-id 26617.1207771026@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] libpq type system 0.9a  (Florian Pflug <fgp.phlo.org@gmail.com>)
Список pgsql-hackers
Florian Pflug <fgp.phlo.org@gmail.com> writes:
> But isn't that an argument *for* having support for the binary format in
> libpq in a form similar to what this patch offers? Then at least you'd
> be safe as long as your libpq-version is >= your server version.
> Currently, there seems to be no safe way to use the binary format,

That's right, there isn't, and it's folly to imagine that anything like
this will make it "safe".

What we really put in the binary I/O support for was for COPY BINARY,
with a rather limited use-case of fast dump and reload between similar
server versions (you'll notice pg_dump does NOT use it).  Yeah, we
expose it for clients to use, but they had better understand that they
are increasing their risk of cross-version portability problems.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Segfault using heap_form_tuple
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] libpq type system 0.9a