Re: session time

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: session time
Дата
Msg-id 200407061346.i66Dkcs16102@candle.pha.pa.us
обсуждение исходный текст
Ответ на session time  (Anass HAMMEDI <Anass.HAMMEDI@asais.fr>)
Ответы Re: session time  ("Andrew Dunstan" <andrew@dunslane.net>)
Список pgsql-hackers-win32
Anass HAMMEDI wrote:
>
> Help requested:
>
> Is there any way to get the session time with a query.
> All I afforded to get is the start time of statement execution.

You want session start time?  We don't supply that.  My only suggestion
would be to create a temp table on session start and put
current_timestamp into there.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: nitrogenycs@web.de
Дата:
Сообщение: Re: initdb crash
Следующее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: session time