Re: psql and pg_dump using obselete copy commands
От | Bruce Momjian |
---|---|
Тема | Re: psql and pg_dump using obselete copy commands |
Дата | |
Msg-id | 200503230221.j2N2LUc26415@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: psql and pg_dump using obselete copy commands (Christopher Kings-Lynne <chriskl@familyhealth.com.au>) |
Ответы |
Re: psql and pg_dump using obselete copy commands
|
Список | pgsql-hackers |
Christopher Kings-Lynne wrote: > > 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. Oh, if we do that, do we disallow connecting to older servers? TODO item removed. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania19073
В списке pgsql-hackers по дате отправления: