Re: Defining a "tinyint" data type - one byte unsigned

Поиск
Список
Период
Сортировка
От Dennis Bjorklund
Тема Re: Defining a "tinyint" data type - one byte unsigned
Дата
Msg-id Pine.LNX.4.44.0403110648010.13979-100000@zigo.dhs.org
обсуждение исходный текст
Ответ на Re: Defining a "tinyint" data type - one byte unsigned  (Shachar Shemesh <psql@shemesh.biz>)
Список pgsql-patches
On Thu, 11 Mar 2004, Shachar Shemesh wrote:

> >It's a bit strange that this int is unsigned and the others are signed.
> >
> Not that strange if you consider the fact that making it signed will not
> leave much room for actually using it.
>
> In any case, that's just the way it is:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_ia-iz_3ss4.asp

Well, in another very popular database it's signed:

http://www.mysql.com/documentation/mysql/bychapter/manual_Column_types.html#Numeric_types

If anything I would like a unsigned modifier to all integer types.

--
/Dennis Björklund


В списке pgsql-patches по дате отправления:

Предыдущее
От: Shachar Shemesh
Дата:
Сообщение: Re: Defining a "tinyint" data type - one byte unsigned
Следующее
От: Tom Lane
Дата:
Сообщение: Re: numeric input changes