Re: Query generates infinite loop

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Richard Wesley <richard(at)duckdblabs(dot)com>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: Query generates infinite loop
Date: 2022-04-20 21:43:09
Message-ID: 3010353.1650490989@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2022-04-21 03:54:00 Re: BUG #17401: REINDEX TABLE CONCURRENTLY creates a race condition on a streaming replica
Previous Message Andrey Borodin 2022-04-20 18:23:43 Re: BUG #17401: REINDEX TABLE CONCURRENTLY creates a race condition on a streaming replica

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2022-04-20 22:03:09 More problems with VacuumPageHit style global variables
Previous Message Justin Pryzby 2022-04-20 21:38:42 Re: typos