Re: psql and pg_dump using obselete copy commands

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: psql and pg_dump using obselete copy commands
Дата
Msg-id 4240D286.5030507@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: psql and pg_dump using obselete copy commands  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: psql and pg_dump using obselete copy commands  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
> We have been telling people to use newer pg_dump's on older servers, but
> we only support reloading into the current PostgreSQL version, so I see
> no reason not to updated it to the current syntax.
> 
> We added the new syntax in 7.3.
> 
> Added to TODO:
> 
>     o Update pg_dump to use the newer COPY syntax

I think you misunderstood me - all I think we should do is switch to 
using PQgetCopyData instead of PQgetline (deprecated) if the libpq 
pg_dump is built against has it.  (And the protocol supports it.)

Same for PQputCopyData vs. PQputline.

Chris


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: psql and pg_dump using obselete copy commands
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: psql and pg_dump using obselete copy commands