Vyacheslav Kalinin <vka(at)mgcp(dot)com> writes:
> $conn = pg_pconnect("dbname=foo");
Please reconsider and use plain pg_connect().-- dim