+infinity for dates and timestamps

From: Vik Fearing <vik(at)postgresfriends(dot)org>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: jian he <jian(dot)universality(at)gmail(dot)com>
Subject: +infinity for dates and timestamps
Date: 2023-01-01 02:10:23
Message-ID: d0bef637-2dbd-0a5d-e539-48243b6f6c5e@postgresfriends.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

It has always annoyed me that we can't write '+infinity' for dates and
timestamps and get the OCD satisfaction of making our queries line up
with '-infinity'.

I wrote a fix for that some time ago but apparently never posted it. I
was reminded of it by jian he in the Infinite Interval thread, and so
here it is.
--
Vik Fearing

Attachment Content-Type Size
plus_infinity.diff text/x-patch 3.6 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2023-01-01 02:11:04 Re: Announcing Release 15 of the PostgreSQL Buildfarm client
Previous Message Vik Fearing 2023-01-01 02:05:14 Re: Infinite Interval