Re: Rule for updating ipaddress on insertion

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Rule for updating ipaddress on insertion
Дата
Msg-id 1282.1137042425@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Rule for updating ipaddress on insertion  ("Krishnendra Nandi" <krishnendra.nandi@hewitt.com>)
Список pgsql-admin
"Krishnendra Nandi" <krishnendra.nandi@hewitt.com> writes:
> Could you please tell me how do i record information as to which ip
> address the connection was when doing an update/insert in postgres..
> I need a trigger which would capture this information

In recent PG releases this info is available, see "Session Information
Functions" here:
http://www.postgresql.org/docs/8.0/static/functions-info.html

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: like vs =
Следующее
От: Tom Lane
Дата:
Сообщение: Re: strange system columns