Re: Bug in user pg_ident.conf mapping code?

From: Shaun Thomas <sthomas(at)optionshouse(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Bug in user pg_ident.conf mapping code?
Date: 2014-04-02 20:35:54
Message-ID: 533C74AA.1000003@optionshouse.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 04/02/2014 03:27 PM, Adrian Klaver wrote:

> Who are you connecting as dude-guy or dudeguy?
>
> Looks to me like:
>
> psql -d some_db -U dude-guy

You are correct. I was assuming the translation went system ->
PostgreSQL, not the other way around. Like, by setting -U dude-guy,
PostgreSQL checked peer auth, then applied the mapping to find and apply
the database username.

Not sure why I had it backwards, but thanks. :)

--
Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 500 | Chicago IL, 60604
312-676-8870
sthomas(at)optionshouse(dot)com

______________________________________________

See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2014-04-02 20:36:27 Re: COPY v. java performance comparison
Previous Message Shaun Thomas 2014-04-02 20:31:08 Re: SSD Drives