Re: [HACKERS] Unsigned ints (Help)

2001-03-28 Thread Adriaan Joubert
Tom Lane wrote: > See past discussions about appropriate handling of unlabeled numeric > constants. This is a tricky area that needs a thoroughgoing rethink. > If you go into it with only "fix uint4" in mind then you will almost > certainly make things worse. Gosh, you were certainly right there

Re: [HACKERS] Unsigned ints (Help)

2001-03-28 Thread Tom Lane
Adriaan Joubert <[EMAIL PROTECTED]> writes: > Uggh, this needs some help. I've got the problem that I can insert a > value bigger than MAXINT into an int8 column, but when I try to do the > same for a uint4 column, the parser coerces it into an int4, as in: See past discussions about appropriate

Re: [HACKERS] Unsigned ints (Help)

2001-03-28 Thread Adriaan Joubert
Uggh, this needs some help. I've got the problem that I can insert a value bigger than MAXINT into an int8 column, but when I try to do the same for a uint4 column, the parser coerces it into an int4, as in: test=# insert into tint8 values (3043140617); INSERT 30254 1 test=# insert into tuint4 va