Re: [HACKERS] Mixing library versions

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Mixing library versions
Дата
Msg-id 199811041404.JAA09674@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Mixing library versions  (Michael Meskes <meskes@usa.net>)
Список pgsql-hackers
> On Wed, Nov 04, 1998 at 12:09:21AM +0000, Oliver Elphick wrote:
> > I'm currently experimenting with the Debian packaging of 6.4.
> > 
> > The question arises of how to handle the change in library versions from
> > 1.0 to 2.0.  It has been suggested that I should keep libpq.so.1 around
> > for the benefit of those who need to communicate with an older database
> > server.
> > 
> > Is it possible to use libpq.so.2.0 to query a remote database whose
> > server is running PostgreSQL 6.3?  What would be the consequences of
> 
> No. Let's just try /usr/local/pgsql/bin/psql(6.4) on my running 6.3 server:
> 
> Connection to database 'mm' failed.
> Unsupported frontend protocol.
> 
> > using libpq.so.1 to query a 6.4 server?
> 
> Never tried that until now. But it appears to work. I hvae no idea though
> where it could break things.

2.0 and 1.0 libpq can connect to 6.4, but 2.0 libpq can not connect to
older databases.  In other words, the backend can communicate with old
libpq, but old backends can not communicate with 2.0 libpq.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: A James Lewis
Дата:
Сообщение: Re: [HACKERS] Warning!!
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Warning!!