Search Postgresql Archives

Re: On Ubuntu 12.04 i do have two psql one of those isn't working

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

 





2012/9/17 Raymond O'Donnell <rod@xxxxxx>

The first isn't a "real" psql - it's a symlink to pg_wrapper, which is
how Debian and Ubuntu allow you to run different Postgres versions and
clusters on the same machine. You call the client program (psql,
pg_dump, etc) you want as usual, but pass it the --cluster option, as
follows:

  psql --cluster 9.1/main (....)

and then pg_wrapper calls the correct version of the client program.


OK, thanks very much, I'll try that ASAP.
 
>
> then, i wonder how to workaround this "installation bugg" because i
> suspect php is using the second not working psql where the first is the
> one being in my PATH.

PHP doesn't use psql, it uses libpq (the client library).

then, the php link to the client library is faulty.

I've to find why.
surprisingly, when from a php script i want to connect to another pgsql server, on another machine, by it's IPV6 addresse it works as expected...


--
Yvon



[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