| 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: | Re: +infinity for dates and timestamps |
| Date: | 2023-01-01 02:31:51 |
| Message-ID: | 68c5d712-7c84-01dd-473f-94156633748b@postgresfriends.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 1/1/23 03:10, Vik Fearing wrote:
> 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.
Hmm. Somehow the .out test files were not included.
Fixed with attached.
--
Vik Fearing
| Attachment | Content-Type | Size |
|---|---|---|
| plus_infinity.v2.diff | text/x-patch | 8.4 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2023-01-01 05:24:30 | Re: +infinity for dates and timestamps |
| Previous Message | Andrew Dunstan | 2023-01-01 02:11:04 | Re: Announcing Release 15 of the PostgreSQL Buildfarm client |