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

From: Dennis Bjorklund <db(at)zigo(dot)dhs(dot)org>
To: Shachar Shemesh <psql(at)shemesh(dot)biz>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Defining a "tinyint" data type - one byte unsigned
Date: 2004-03-11 06:16:35
Message-ID: Pine.LNX.4.44.0403110648010.13979-100000@zigo.dhs.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-03-11 07:07:22 Re: numeric input changes
Previous Message Shachar Shemesh 2004-03-11 05:28:28 Re: Defining a "tinyint" data type - one byte unsigned