Re: can only connect to localhost is postgresql - Mailing list pgsql-novice

From Bruno Wolff III
Subject Re: can only connect to localhost is postgresql
Date
Msg-id 20030201064329.GB21857@wolff.to
Whole thread Raw
In response to Re: can only connect to localhost is postgresql  ("Reshat Sabiq" <sabiq@purdue.edu>)
Responses Re: can only connect to localhost is postgresql
List pgsql-novice
On Fri, Jan 31, 2003 at 18:17:07 -0500,
  Reshat Sabiq <sabiq@purdue.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.

pgsql-novice by date:

Previous
From: Andrew McMillan
Date:
Subject: Re: For each record in SELECT
Next
From: Andres Ledesma
Date:
Subject: Re: where is libpq.so