Re: Automatically assuming a specific role after connecting to pg

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Automatically assuming a specific role after connecting to pg
Дата
Msg-id 20060423134406.GS4474@ns.snowman.net
обсуждение исходный текст
Ответ на Automatically assuming a specific role after connecting to pg  ("Florian G. Pflug" <fgp@phlo.org>)
Ответы Re: Automatically assuming a specific role after connecting  ("Florian G. Pflug" <fgp@phlo.org>)
Список pgsql-general
* Florian G. Pflug (fgp@phlo.org) wrote:
> I'd like to be able to connect to postgres, and automatically assume a
> specific role.

Couldn't you just have 'SET ROLE <whatever>' in the user's .psqlrc?  At
least, if that's how they're connecting I think that'd work...

    Enjoy,

        Stephen

Вложения

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Automatically assuming a specific role after connecting to pg
Следующее
От: Dany De Bontridder
Дата:
Сообщение: Postgreql 8.0.3 temporary Table Strange behaviour