Re: querying the version of libpq

From: "Massa, Harald Armin" <chef(at)ghum(dot)de>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Greg Sabino Mullane <greg(at)turnstep(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: querying the version of libpq
Date: 2010-10-14 10:02:13
Message-ID: AANLkTinAmypvGZNcg+cPhrfr4eYeGEQ9SajQ6J0c0e91@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

>
> And the dynamic linker will take any version of libpq.so that has the same
> major number, meaning that you
> cannot assume that it's not 8.4 just because you built against 9.0.
>
> [...]

> Not to mention when you're on windows (and I dunno if any other
> platforms are like *that*), where they're all libpq.dll and we'll
> happily take *any* other libpq.dll (even an older one, but that will give
> you an error if you're actually using any functions not present in it).
>
> So there are quite many arguments for adding a

PQlibpqVersion()

to libpq, yeah? Do you think you will do it, Magnus?

[updates: the other "got bitten by the BYTEA-encoding-change"-thread is
connected to this....]

Best wishes,

Harald

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

Amtsgericht Stuttgart, HRB 734971
-
persuadere.
et programmare

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message ghatpande 2010-10-14 10:13:34 Re: Adding a New Column Specifically In a Table
Previous Message Pavel Stehule 2010-10-14 09:32:16 Re: How to iterate fields into a NEW.* RECORD in a TRIGGER procedure ?

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 2010-10-14 10:53:08 Re: rollback to savepoint leads to transaction already in progress
Previous Message Dimitri Fontaine 2010-10-14 10:01:12 Re: SQL command to edit postgresql.conf, with comments