Re: psql and pg_dump using obselete copy commands

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: psql and pg_dump using obselete copy commands
Дата
Msg-id 4240D383.9010800@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
> 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
copyfunctions
 
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


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: psql and pg_dump using obselete copy commands
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: Using new copy libpq functions on a v2 protocol backend