pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Vik Fearing <vik@postgresfriends.org>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: jian he <jian.universality@gmail.com>
Subject: Re: +infinity for dates and timestamps
Date: Sun, 01 Jan 2023 00:24:30 -0500
Message-ID: <1120729.1672550670@sss.pgh.pa.us> (raw)
In-Reply-To: <d0bef637-2dbd-0a5d-e539-48243b6f6c5e@postgresfriends.org>
References: <d0bef637-2dbd-0a5d-e539-48243b6f6c5e@postgresfriends.org>

Vik Fearing <vik@postgresfriends.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





view thread (5+ messages)  latest in thread

Message-ID: <1120729.1672550670@sss.pgh.pa.us>
Permalink:  ../1120729.1672550670@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1120729.1672550670@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, vik@postgresfriends.org, jian.universality@gmail.com
  Subject: Re: +infinity for dates and timestamps
  In-Reply-To: <1120729.1672550670@sss.pgh.pa.us>
  References: <d0bef637-2dbd-0a5d-e539-48243b6f6c5e@postgresfriends.org> <1120729.1672550670@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox