Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 1) Don't use timestamp (without time zone)

The problem with this one is both timestamp and timestamptz are problematic:

* timestamp will implicitly discard input timezone information * timetamptz doesn't store a timezone, it converts everything to UTC and stores that; furthermore it assumes any data without timezone information is in the "timezone" system parameter and converts from that on input and to that on output

Storing everything as UTC is problematic because it's completely unreliable for all future events e.g. it's plain broken for calendaring and reminders.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: