Timezones and time/timestamp values in FE/BE protocol

Поиск
Список
Период
Сортировка
От Rene Pijlman
Тема Timezones and time/timestamp values in FE/BE protocol
Дата
Msg-id kbbnpt0lf6iiom1jm42misb0mf3iol8287@4ax.com
обсуждение исходный текст
Список pgsql-jdbc
I'm working on a problem in the JDBC driver that's related to
timezones.

How does PostgreSQL handle timezones in the FE/BE protocol
exactly?

When a client sends a time or timestamp value to the server via
the FE/BE protocol, should that be:
1) a value in the client's timezone?
2) a value in the server's timezone?
3) a value in a common frame of reference (GMT/UTC)?
4) any value with an explicit timezone?

And how should a time or timestamp value returned by the server
be interpreted in the client interface?

And how does this all depend on the timezone setting of the
server?

Regards,
René Pijlman <rene@lab.applinet.nl>

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

Предыдущее
От: Rene Pijlman
Дата:
Сообщение: Re: [HACKERS] Troubles using German Umlauts with JDBC
Следующее
От: Barry Lind
Дата:
Сообщение: Re: [HACKERS] Troubles using German Umlauts with JDBC