Re: Issues with generate_series using integer boundaries - Mailing list pgsql-general

From Tom Lane
Subject Re: Issues with generate_series using integer boundaries
Date
Msg-id 11684.1296520602@sss.pgh.pa.us
Whole thread Raw
In response to Re: Issues with generate_series using integer boundaries  (Thom Brown <thom@linux.com>)
Responses Re: Issues with generate_series using integer boundaries
Re: Issues with generate_series using integer boundaries
List pgsql-general
Thom Brown <thom@linux.com> writes:
> Actually, those lower bound errors aren't related to generate_series,
> but I'd still like to know why -2147483648::int4 is out of range.

:: binds tighter than - (and everything else too).  Write
(-2147483648)::int4 instead.

            regards, tom lane

pgsql-general by date:

Previous
From: Thom Brown
Date:
Subject: Re: Issues with generate_series using integer boundaries
Next
From: Thom Brown
Date:
Subject: Re: Issues with generate_series using integer boundaries