postgres UTC different from perl?

Поиск
Список
Период
Сортировка
От Louis-David Mitterrand
Тема postgres UTC different from perl?
Дата
Msg-id 20071219193128.GA13328@apartia.fr
обсуждение исходный текст
Ответы Re: postgres UTC different from perl?
Список pgsql-general
Hi,

when trying:

psql template1 -c "select  date_part('epoch',current_date at time zone 'UTC');"
date_part
------------
1198015200

the result is different from

perl -MDateTime -le 'print DateTime->today(time_zone => "UTC")->epoch;'
1198022400

Is there an issue with postgresql?

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