| От | Karsten Hilbert |
|---|---|
| Тема | Re: Timestamp with vs without time zone. |
| Дата | |
| Msg-id | YUtOqhWiCXbiqvr7@hermes.hilbert.loc обсуждение |
| Ответ на | Re: Timestamp with vs without time zone. (Tim Uckun <timuckun@gmail.com>) |
| Список | pgsql-general |
Am Wed, Sep 22, 2021 at 08:11:50PM +1200 schrieb Tim Uckun:
> A korean user will fetch you single page app as static HTML from S3
> with cloudfront. It will hit your japanese API server, which will
> fetch the data from your japanese read only replica with the master
> being in Australia.
>
> The master DB writes the records has to know your end user is in
> Korea somehow so you have to carry that time zone all the way across
> those tiers.
One does not: as soon as the real-world concept of
point-in-time hits the machine it gets converted to UTC. When
it leaves the machine (towards user consumption) it gets
converted to whatever is desired.
UTC = UTF8
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера