logoalt Hacker News

marcosdumay • yesterday at 3:41 PM • 1 reply • view on HN

Still, the GP is correct about the problems.

Relational databases have exactly 1 type that corresponds to modern data-handling practices: timestamp with time zone, that stores a timestamp. There is no good way to store any other modern type, and the 1980s practices on time handling weren't actually very good.


Replies

masklinn • yesterday at 5:42 PM

I'd say relational databases (in the sense of standard SQL) have 0 types that correspond to modern data-handling practices: timestamp with timezone stores an instant but lies about it and implicitly gets converted from and to the connection-local timezone.