Hi,

I realize this will get some "you can easily implement this yourself”
pushback,
But I keep seeing and writing a lot of WHERE ts > now() - interval '1 day'
expressions.

Having $subject should help in such cases.
We already have now, and age, so we might as well have ago too.
Other systems also expose similar helpers.

Cheers,
Flo

Attachment: v1-0001-Add-ago-interval-function-to-subtract-interval-fr.patch
Description: Binary data

Reply via email to