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:25:07
Message-ID: 4240D383.9010800@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Oh, if we do that, do we disallow connecting to older servers?

Not at all, since the logic would be like this:

if we have new copy functions
and we have protocol version function
and protocol version >= 3
then use new copy functions
else
use old copy functions

That would be even simpler if someone would answer my question about the
new copy functions working on a pre v3 server. (I'm setting up to test
that atm)

Chris

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2005-03-23 02:36:19 Re: Using new copy libpq functions on a v2 protocol backend
Previous Message Bruce Momjian 2005-03-23 02:21:30 Re: psql and pg_dump using obselete copy commands