Search Postgresql Archives

Re: querying the version of libpq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey Massa,

Again, I suggest PQlibVersion() or PQversion() instead of PQlibpqVersion().

Why this "pq" redundancy in name? Waste of bytes.

2010/10/14 Massa, Harald Armin <chef@xxxxxxx>
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



--
// Dmitriy.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux