Re: can only connect to localhost is postgresql

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Reshat Sabiq <sabiq(at)purdue(dot)edu>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: can only connect to localhost is postgresql
Date: 2003-02-01 06:43:29
Message-ID: 20030201064329.GB21857@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Fri, Jan 31, 2003 at 18:17:07 -0500,
Reshat Sabiq <sabiq(at)purdue(dot)edu> wrote:
> I have a question:
> Is it a legit thing to have 2 connection modes for the same host:
>
> local all ident
> sameuser
> local all ident newmode

This won't work as all connections that would match the second rule,
match the first rule, so the second rule will never be used.
In 7.3 you can write authentication rules that match connection method,
database and user, which might allow you to do what you want.

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Keith Keller 2003-02-01 07:05:24 Re: [NOVICE] Perl - Postgres
Previous Message Andrew McMillan 2003-02-01 04:43:48 Re: [NOVICE] For each record in SELECT