Re: How do we get the Client-Time and Server-Time from psql ?

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: How do we get the Client-Time and Server-Time from psql ?
Дата
Msg-id 4C062ACA.7010705@iol.ie
обсуждение исходный текст
Ответ на How do we get the Client-Time and Server-Time from psql ?  (raghavendra t <raagavendra.rao@gmail.com>)
Список pgsql-general
On 02/06/2010 10:48, raghavendra t wrote:
> Hi All,
>
> How do i get the client time and server time. I am connecting
> remotely. If i give SELECT CURRENT_TIME;,it shows the server time.
> How do we get the client time ?

I don't think you can, from within a query anyway - it's always going to
run on the server side. You'll have to do it from within your application.

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

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

Предыдущее
От: raghavendra t
Дата:
Сообщение: How do we get the Client-Time and Server-Time from psql ?
Следующее
От: Ivan Voras
Дата:
Сообщение: tsearch2 & dictionaries - possible problem