Re: Bug in user pg_ident.conf mapping code?

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Bug in user pg_ident.conf mapping code?
Дата
Msg-id 533C7637.5060102@aklaver.com
обсуждение исходный текст
Ответ на Re: Bug in user pg_ident.conf mapping code?  (Shaun Thomas <sthomas@optionshouse.com>)
Ответы Re: Bug in user pg_ident.conf mapping code?  (Shaun Thomas <sthomas@optionshouse.com>)
Список pgsql-general
On 04/02/2014 01:35 PM, Shaun Thomas wrote:
> 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. :)

FYI this works:

postgres@test=# CREATE ROLE dude_guy;
CREATE ROLE


If you want a sort of hyphen.

>


--
Adrian Klaver
adrian.klaver@aklaver.com


В списке pgsql-general по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: COPY v. java performance comparison
Следующее
От: Shaun Thomas
Дата:
Сообщение: Re: Bug in user pg_ident.conf mapping code?