Re: Unsigned ints (Help)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Unsigned ints (Help)
Дата
Msg-id 18296.985795768@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Unsigned ints (Help)  (Adriaan Joubert <a.joubert@albourne.com>)
Список 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 по дате отправления:

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: Unsigned ints (Help)
Следующее
От: Thomas Swan
Дата:
Сообщение: Re: Feature Request: ALTER FUNCTION (or something like that)