>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:
>> ERROR: MINVALUE (1) must be less than MAXVALUE (-1)
Tom> Hm ... works fine for me on a 64-bit Linux machine ... but it
Tom> fails as described on 32-bit. Something in the LIKE code path is
Tom> shoving the sequence's maxvalue through a variable with
Tom> platform-dependent width, probably of type "long". No time right
Tom> now to locate the exact problem.
The Value node's "ival" field is declared as a long.
sequence_options thinks it can put all the sequence parameters through
makeInteger and have them come out intact.
--
Andrew (irc:RhodiumToad)