Re: session_id

Поиск
Список
Период
Сортировка
От Riccardo G. Facchini
Тема Re: session_id
Дата
Msg-id 20041117142732.60975.qmail@web13912.mail.yahoo.com
обсуждение исходный текст
Ответ на Re: session_id  (Achilleus Mantzios <achill@matrix.gatewaynet.com>)
Список pgsql-sql
--- Achilleus Mantzios <__> wrote:

> O Richard Huxton ������ ���� Nov 17, 2004 :
> 
> > Riccardo G. Facchini wrote:
> > > hi all,
> > > 
> > > is there a way to determine the session id on a database session?
> > > 
> > > I would need to have a unique number whenever a session is
> started, and
> > > have this available as a function or view result.
> 
> Why not SELECT pg_backend_pid();
> ??
> 
> > 
[..]

that could work. Is this the unique value for my own session? can
somebody confirm it?

regards,

R.



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

Предыдущее
От: "Riccardo G. Facchini"
Дата:
Сообщение: Re: session_id
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: session_id