pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Richard Wesley <richard@duckdblabs.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: Query generates infinite loop
Date: Wed, 20 Apr 2022 17:43:09 -0400
Message-ID: <3010353.1650490989@sss.pgh.pa.us> (raw)
In-Reply-To: <2842828.1650474225@sss.pgh.pa.us>
References: <91B44E7B-68D5-448F-95C8-B4B3B0F5DEAF@duckdblabs.com>
	<CAFj8pRDzVzTfsnxs_T9T7k=HW_gWCryo==rVB-AX4R6pXo85xQ@mail.gmail.com>
	<2842828.1650474225@sss.pgh.pa.us>

I wrote:
> it's true that infinities as generate_series endpoints are going
> to work pretty oddly, so I agree with the idea of forbidding 'em.

> Numeric has infinity as of late, so the numeric variant would
> need to do this too.

Oh --- looks like numeric generate_series() already throws error for
this, so we should just make the timestamp variants do the same.

			regards, tom lane





view thread (12+ messages)  latest in thread

Message-ID: <3010353.1650490989@sss.pgh.pa.us>
Permalink:  ../3010353.1650490989@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3010353.1650490989@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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pavel.stehule@gmail.com, richard@duckdblabs.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: Query generates infinite loop
  In-Reply-To: <3010353.1650490989@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