Re: Unsigned ints (Help)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Adriaan Joubert <a(dot)joubert(at)albourne(dot)com>
Cc: Postgresql <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Unsigned ints (Help)
Date: 2001-03-28 16:09:28
Message-ID: 18296.985795768@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Swan 2001-03-28 16:55:35 Re: Feature Request: ALTER FUNCTION (or something like that)
Previous Message Thomas Lockhart 2001-03-28 15:53:08 Re: Unsigned ints (Help)