On Mon, Nov 21, 2011 at 4:13 AM, Adrian Klaver <adrian.kla...@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?

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to