Re: +infinity for dates and timestamps

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Vik Fearing <vik(at)postgresfriends(dot)org>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, jian he <jian(dot)universality(at)gmail(dot)com>
Subject: Re: +infinity for dates and timestamps
Date: 2023-01-01 05:24:30
Message-ID: 1120729.1672550670@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Vik Fearing <vik(at)postgresfriends(dot)org> writes:
> 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'.

+1, since it works for numerics it should work for these types too.
(I didn't read the patch though.)

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2023-01-01 14:04:14 Re: Add a test to ldapbindpasswd
Previous Message Vik Fearing 2023-01-01 02:31:51 Re: +infinity for dates and timestamps