Re: PHP libpq Version != Actual PGSQL Version

From: John DeSoi <desoi(at)pgedit(dot)com>
To: <operationsengineer1(at)yahoo(dot)com> <operationsengineer1(at)yahoo(dot)com>
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: PHP libpq Version != Actual PGSQL Version
Date: 2006-03-29 04:51:37
Message-ID: 26CC576A-8D95-42BE-A5B4-1FB21FEC0A63@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


On Mar 28, 2006, at 10:18 PM, <operationsengineer1(at)yahoo(dot)com>
<operationsengineer1(at)yahoo(dot)com> wrote:

> i noticed today that phpinfo() displays:
>
> PostgreSQL(libpq) Version 8.0.1
>
> the strange thing is that i upgraded to 8.1.
>
> shouldn't it display 8.1 instead of 8.0.1?

In general, no. Unless you compiled PHP yourself, it uses whatever
version of libpq was available at build time. For example, on OS X my
PHP library has no dynamic references for libpq. PostgreSQL support
was compiled in when PHP was built and changing the PostgreSQL
version on my computer has no impact.

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Christoph Della Valle 2006-03-29 05:51:24 Re: LIMIT clause and long timings
Previous Message Tom Lane 2006-03-29 04:31:26 Re: PHP libpq Version != Actual PGSQL Version