Re: Connection pooling

From: Dan Lyke <danlyke(at)flutterby(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Connection pooling
Date: 2001-01-25 17:53:14
Message-ID: 14960.26634.509087.845261@wynand.flutterby.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Gilles DAROLD writes:
> With Apache/mod_perl it is very simple to enable DB connection
> persistance.
>
> in your perl script :
>
> use vars qw($dbh);
>
> $dbh ||= DBI::connect($datasrc, $dbuser, $dbpwd);

Even better, Apache::DBI will pool across Perl programs, and you don't
have to change anything in your scripts.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Carlos Villela 2001-01-25 17:55:29 PL/PySQL?
Previous Message Guillaume Lémery 2001-01-25 17:51:34 Re: Load a database into memory