Re: Defining a "tinyint" data type - one byte unsigned - Mailing list pgsql-patches

From Dennis Bjorklund
Subject Re: Defining a "tinyint" data type - one byte unsigned
Date
Msg-id Pine.LNX.4.44.0403110648010.13979-100000@zigo.dhs.org
Whole thread Raw
In response to Re: Defining a "tinyint" data type - one byte unsigned  (Shachar Shemesh <psql@shemesh.biz>)
List 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 by date:

Previous
From: Shachar Shemesh
Date:
Subject: Re: Defining a "tinyint" data type - one byte unsigned
Next
From: Tom Lane
Date:
Subject: Re: numeric input changes