RE: [PHP-CVS] cvs: php4 /ext/pgsql pgsql.c
| From: | Mårten Gustafsson | Date: | Thu, 24 Jan 2002 12:58:14 +0000 |
| Subject: | RE: [PHP-CVS] cvs: php4 /ext/pgsql pgsql.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-9150@lists.php.net to get a copy of this message | ||
> > Modified files:
> > /php4/ext/pgsql pgsql.c
> > Log:
> > Revert last 2 commit. Instead, make php_pgsql_do_connect() to catch
> > broken connection always.
> > # I think this is better than check&reset connection when query
> > # functions are called.
>
> this slows down every singe call to pg_[p]connect - as it
> forces 1 server roundtrip even if none is needed. please make
> this "ping" funtionality optional and configurable in php.ini
> (default should be off - this is how it used to be)
>
> i have a few high-volume postgres installations an i don't
> want this extra overhead.
+ 1