Re: Server timestamp

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Server timestamp
Дата
Msg-id 49FD9FE8.8010508@postnewspapers.com.au
обсуждение исходный текст
Ответ на Server timestamp  (Chris Bartlett <c.bartlett@paradise.net.nz>)
Список pgsql-general
Chris Bartlett wrote:
> Date and time functions like current_time return the client machine's
> time.

Er, no they don't. They return the server's time, adjusted to the
client's time zone if the client specified its time zone using SET TIMEZONE.

At least, that's how they behave here, and I can't imagine any sane
client interface attempting to change it.

--
Craig Ringer

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Server timestamp
Следующее
От: Justin
Дата:
Сообщение: Re: Rounding problems