3 ms·
Author here. I've used pg a ton in the past in production systems as an operational database. Never really missed having datediff. Once we started using it as
by cedricd 5y ago
Author here. I've used pg a ton in the past in production systems as an operational database. Never really missed having datediff.
Once we started using it as a data warehouse I noticed that function was missing -- most other data warehouses have it. Thought it would be worth providing an implementation since date stuff is annoying to do.
- oncethere 5y agoInteresting. Not sure I'd ever use it, but I wonder what the story is behind the data warehouses all having it but not postgres. Must be only used for data type queries.