Re: Is a backend id or something available for use as a foreign key?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Is a backend id or something available for use as a foreign key?
Дата
Msg-id 4195.1090679988@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Is a backend id or something available for use as a foreign key?  (Markus Bertheau <twanger@bluetwanger.de>)
Список pgsql-sql
Markus Bertheau <twanger@bluetwanger.de> writes:
> Is there a backend id available or something similar that would allow
> me to define a view like this:

IIRC there is a function to get your backend's PID.  It was meant for
identifying rows relevant to you in the pg_stat views, so look in that
part of the documentation.
        regards, tom lane


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

Предыдущее
От: Andreas Haumer
Дата:
Сообщение: Trigger functions with dynamic SQL
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Trigger functions with dynamic SQL