Re: psql and pg_dump using obselete copy commands

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql and pg_dump using obselete copy commands
Date: 2005-03-23 02:21:30
Message-ID: 200503230221.j2N2LUc26415@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2005-03-23 02:25:07 Re: psql and pg_dump using obselete copy commands
Previous Message Christopher Kings-Lynne 2005-03-23 02:20:54 Re: psql and pg_dump using obselete copy commands