Re: Getting process id of a connection?

Поиск
Список
Период
Сортировка
От Webb Sprague
Тема Re: Getting process id of a connection?
Дата
Msg-id b11ea23c0801041517h17a89b5ew28ee05ada7a76718@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Getting process id of a connection?  (Bricklen Anderson <banderson@presinet.com>)
Список pgsql-general
>
> I think select pg_backend_pid(); will do that.

Perfect.  I tried googling but I didn't try \df *pid* which would have found it

I tried to figure out the pg_stat_activity, but I can't think of a
WHERE condition that would make it give me the info I wanted.

Thx again to everyone.

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

Предыдущее
От: Andrew Sullivan
Дата:
Сообщение: Re: [OT] Slony (initial) Replication - Slow
Следующее
От: "Ken Winter"
Дата:
Сообщение: Re: Problem with pg_dump?