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

Re: PostgreSQL 9.1.1 PHP module backport



  Hi,

* Brandon Phelps <brandon@collisionpoint.net> [2011-10-25 01:24:18 CEST]:
> I was mainly just curious as to why it was still at  8.4.8 after I
> upgraded libpq to the latest version.  Was the php5-pgsql module
> compiled with a static libpq?  I also read somewhere that it is best
> to have your libpq at the same version or higher than your database.
> Perhaps this is not true?

 Hmm, you are right, I just installed the required packages myself and
looked it up. I think that is an error in the reporting of the module
and might be hardcoded inside somehow and thus it doesn't report what it
currently is linking in but actually what it was compiled against:

#v+
$ strings /usr/lib/php5/20090626+lfs/pgsql.so | grep 8.4.8
8.4.8
#v-

 So yes, it seems like the string is hardcoded inside the php5-pgsql
module and is not retreived dynamically from the library it actually
uses.

 Yeah for static reporting!
Rhonda
-- 
Fühlst du dich mutlos, fass endlich Mut, los      |
Fühlst du dich hilflos, geh raus und hilf, los    | Wir sind Helden
Fühlst du dich machtlos, geh raus und mach, los   | 23.55: Alles auf Anfang
Fühlst du dich haltlos, such Halt und lass los    |


Reply to: