Re: Installed. Now what?

From: Phoenix Kiula <phoenix(dot)kiula(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, Scott Mead <scottm(at)openscg(dot)com>, Marko Kreen <markokr(at)gmail(dot)com>, Amitabh Kant <amitabhkant(at)gmail(dot)com>, Tomas Vondra <tv(at)fuzzy(dot)cz>
Subject: Re: Installed. Now what?
Date: 2011-11-21 00:39:14
Message-ID: CAFWfU=tb_B_xOAS=PknGDJ46ggXs5tqOYNva4O66ir2NQbLw1g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Nov 21, 2011 at 4:13 AM, Adrian Klaver <adrian(dot)klaver(at)gmail(dot)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?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robert Treat 2011-11-21 01:28:38 Re: upgrading from 8.3 to 9.0
Previous Message Gavin Flower 2011-11-20 23:26:38 Re: Table Design question for gurus (without going to "NoSQL")...