News for hackers. Stuff that matters.
Re:PostgreSQL's Missing DateDiff Function by btilly on Tuesday December 21, 2021 @08:22PM (#29644416)
Try it again, except looking for months. You'll get -11 instead of 1.
Re:PostgreSQL's Missing DateDiff Function by castorp on Wednesday December 22, 2021 @08:16AM (#29648878)

    select extract(month from justify_interval(timestamp '2022-01-01' - timestamp '2021-11-01'))
returns 2