Re: execute function after user connect

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: execute function after user connect
Дата
Msg-id 20040402192601.GA17213@wolff.to
обсуждение исходный текст
Ответ на execute function after user connect  (John DeSoi <jd@icx.net>)
Ответы Re: execute function after user connect  (<btober@seaworthysys.com>)
Список pgsql-general
On Fri, Apr 02, 2004 at 11:58:42 -0500,
  John DeSoi <jd@icx.net> wrote:
> Is there a mechanism to execute a function after the user connects to
> the database? I would like to set the schema path based on the user's
> group membership. It would also be nice to log to a table on
> connect/disconnect.

You can set the schema path based on the user or the database (but not
both at once), using ALTER USER or ALTER DATABASE.

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

Предыдущее
От: Randall Skelton
Дата:
Сообщение: Re: Storage cost of a null column
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: row-level security model