Re: PGBouncer Connection Using Perl DBI

From: Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
To: Prashant Bharucha <prashantbharucha(at)yahoo(dot)ca>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PGBouncer Connection Using Perl DBI
Date: 2012-08-27 02:26:28
Message-ID: 503ADAD4.20504@ringerc.id.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 08/27/2012 09:51 AM, Prashant Bharucha wrote:
> Hello ,
> Could you please tell me some one ,how to do connection PGBouncer using
> Perl DBI module ?

Exactly the same way you connect to PostgreSQL normally: specify a
hostname, port and database name. Instead of specifying those for the
PostgreSQL server, specify the details for the PgBouncer server that's
proxying for PostgreSQL.

--
Craig Ringer

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2012-08-27 04:04:28 Re: 9.2 and index only scans
Previous Message Prashant Bharucha 2012-08-27 01:51:46 PGBouncer Connection Using Perl DBI