Re: Loading binary data into the database

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Loading binary data into the database
Дата
Msg-id 24814.964105722@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Loading binary data into the database  (Adriaan Joubert <a.joubert@albourne.com>)
Ответы Re: Loading binary data into the database  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Adriaan Joubert <a.joubert@albourne.com> writes:
> since 7.0.2 binary copy has been disabled, making
> quite a few libpq functions superfluous

Such as?  IIRC, the reason we disabled it was precisely that there was
no support on the client side.  (What's worse, there's no support in
the FE/BE protocol either.  I don't see how you could have made this
work...)

Cross-machine binary copy is a dangerous thing anyway, since it opens
you up to all sorts of compatibility problems.  If your app is running
on the same machine as the server, you can write data to a file and
then send a command to do a binary copy from that file.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Hello PL/Python
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 8Ko limitation