Re: [HACKERS] Mixing library versions - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: [HACKERS] Mixing library versions
Date
Msg-id 19981104090020.D288@usa.net
Whole thread Raw
In response to Mixing library versions  ("Oliver Elphick" <olly@lfix.co.uk>)
Responses Re: [HACKERS] Mixing library versions
List 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.

Michael
-- 
Dr. Michael Meskes      | Th.-Heuss-Str. 61, D-41812 Erkelenz | Go SF49ers!
Senior-Consultant       | business: Michael.Meskes@mummert.de | Go Rhein Fire!
Mummert+Partner         |  private: Michael.Meskes@usa.net    | Use Debian
Unternehmensberatung AG |           Michael.Meskes@gmx.net    | GNU/Linux!


pgsql-hackers by date:

Previous
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] Warning!!
Next
From: Michael Meskes
Date:
Subject: problem with latest snapshot