Re: Unsigned ints (Help) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Unsigned ints (Help)
Date
Msg-id 18296.985795768@sss.pgh.pa.us
Whole thread Raw
In response to Re: Unsigned ints (Help)  (Adriaan Joubert <a.joubert@albourne.com>)
List pgsql-hackers
Adriaan Joubert <a.joubert@albourne.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


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: Unsigned ints (Help)
Next
From: Thomas Swan
Date:
Subject: Re: Feature Request: ALTER FUNCTION (or something like that)