Adriaan Joubert <a(dot)joubert(at)albourne(dot)com> 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 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.
regards, tom lane