Re: procpid for temp schema

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: procpid for temp schema
Дата
Msg-id 9042.1238508458@sss.pgh.pa.us
обсуждение исходный текст
Ответ на procpid for temp schema  (ashok raj <ashokexplorer@gmail.com>)
Список pgsql-admin
ashok raj <ashokexplorer@gmail.com> writes:
>          is there a way that we could find which procpid or connection that
> has created a particular temporary  schema (pg_temp_*) ?.

In 8.3 and up, the number in the pg_temp_N schema name is the same as
the first component of the virtualxids that that session uses.  Not
sure how much help that is to you, but if the session is actively
doing anything you should be able to identify its number by watching
pg_locks.

            regards, tom lane

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: PG Patch
Следующее
От: Emanuel Calvo Franco
Дата:
Сообщение: Re: PG Patch