Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: persistent connection



>Of course, if that _is_ true, then PHP is all but useless as a layer
>between PostgreSQL and the Web, since the latency in starting a
>pg_Connect is truly horrible.

I haven't found that to be the case at all.  I started out with pg_pconnect() just assuming that I needed to save the overhead, but we noticed no perceptible-to-the-user difference after we switched to plain pg_connect().  In case it matters, apache and pgsql are on the same box in our case, so the connection is via unix-domain sockets rather than tcp/ip.



Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group