Re: psql and pg_dump using obselete copy commands

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql and pg_dump using obselete copy commands
Date: 2005-03-23 02:20:54
Message-ID: 4240D286.5030507@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-03-23 02:21:30 Re: psql and pg_dump using obselete copy commands
Previous Message Bruce Momjian 2005-03-23 02:14:09 Re: psql and pg_dump using obselete copy commands