Re: querying the version of libpq - Mailing list pgsql-general

From Massa, Harald Armin
Subject Re: querying the version of libpq
Date
Msg-id AANLkTikwde-gYqWq3WWdTXUYAfUVvf6RKhy=mVTBr1Lg@mail.gmail.com
Whole thread Raw
In response to Re: querying the version of libpq  (Magnus Hagander <magnus@hagander.net>)
List pgsql-general

> We could add a PQlibpqVersion(), maybe, but it would be many years
> before client code could rely on that being present.

I think we should.

And in a small way they can already - if they check for it
dynamically, they'll know if it was 9.1 or newer at least :-) It'll be
a long time before it's *easy* to use though. But if we don't add it
now, it'll be even longer...

and an additional argument: Isn't it a wise decision for clients, to allways use the newset libpq, independent of the server? As younger libpqs happily connect to older servers AND are supposed to have less bugs.

As libpq is very small, can be statically linked into applications and there are no license troubles, I can see no argument to use something that is not brand new... (compared to other databases with 120megabyte clients with longer licence restrictions than documentations...)

Or am I missing sth?

Harald
 

--
GHUM GmbH
Harald Armin Massa
Spielberger Straße 49
70435 Stuttgart
0173/9409607

Amtsgericht Stuttgart, HRB 734971
-
persuadere.
et programmare

pgsql-general by date:

Previous
From: Michael Gould
Date:
Subject: Problem installing 9.0.1 on Windows 7 x64
Next
From: Alban Hertroys
Date:
Subject: Re: PG website testing