Re: querying the version of libpq
От | Dmitriy Igrishin |
---|---|
Тема | Re: querying the version of libpq |
Дата | |
Msg-id | AANLkTi=6NXMtckxXKeqmFegN7cZ-CcBtp_qDPxiyFyA-@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: querying the version of libpq ("Massa, Harald Armin" <chef@ghum.de>) |
Ответы |
Re: querying the version of libpq
|
Список | pgsql-general |
Hey Massa,
Again, I suggest PQlibVersion() or PQversion() instead of PQlibpqVersion().
Why this "pq" redundancy in name? Waste of bytes.
--
// Dmitriy.
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@ghum.de>
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 aPQlibpqVersion()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.
В списке pgsql-general по дате отправления: