Re: David Fetter 2016-01-26 <20160126180011.ga16...@fetter.org> > +1 for back-patching. There's literally no case where an infinite > input could be correct as the start or end of an interval for > generate_series.
select * from generate_series(now(), 'infinity', '1 day') limit 10; ... seems pretty legit to me. If limit pushdown into SRFs happened to work some day, it'd be a pity if the above query raised an error. Christoph -- c...@df7cb.de | http://www.df7cb.de/ -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers