Re: Installed. Now what? - Mailing list pgsql-general

From Phoenix Kiula
Subject Re: Installed. Now what?
Date
Msg-id CAFWfU=tb_B_xOAS=PknGDJ46ggXs5tqOYNva4O66ir2NQbLw1g@mail.gmail.com
Whole thread Raw
In response to Re: Installed. Now what?  (Adrian Klaver <adrian.klaver@gmail.com>)
Responses Re: Installed. Now what?
List pgsql-general
On Mon, Nov 21, 2011 at 4:13 AM, Adrian Klaver <adrian.klaver@gmail.com> wrote:
> On Sunday, November 20, 2011 3:56:18 am Phoenix Kiula wrote:
>
>> > Any ideas?
>>
>> Just to add, the connection string I try for pgbouncer is EXACTLY the
>> same as the one I use to connect directly to PG, but I add the port
>> number.
>
>
> That may be the problem. The Postgres server and pgbouncer are not the same
> thing. Visual aids:
>
> Client          -->             pgbouncer          -->       Postgres server
>
> Client credentials        pgbouncer auth               Postgres auth
>
>                                   auth file                         Pg pg_shadow



Thanks for this.

(1) Do I need to create a new user for Pgbouncer then?

(2) What info goes in the "auth_file" -- the Pgbouncer user/password
or the Postgres user/password?

In any case, I have kept both the user name and passwords the same for
now. But I have not created anything for Pgbouncer specifically other
than to put the info in auth_file. Have I missed a step?

pgsql-general by date:

Previous
From: Gavin Flower
Date:
Subject: Re: Is it ever necessary to vacuum a table that only gets inserts/updates?
Next
From: Tomas Vondra
Date:
Subject: Re: Huge number of INSERTs