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

From Shachar Shemesh
Subject Re: Defining a "tinyint" data type - one byte unsigned
Date
Msg-id 404FF39A.7050805@shemesh.biz
Whole thread Raw
In response to Re: Defining a "tinyint" data type - one byte unsigned  (Dennis Bjorklund <db@zigo.dhs.org>)
Responses Re: Defining a "tinyint" data type - one byte unsigned
List pgsql-patches
Dennis Bjorklund wrote:

>On Thu, 11 Mar 2004, Shachar Shemesh wrote:
>
>
>
>>Attached is a patch to implement "tinyint". This is a one byte unsigned
>>integer type.
>>
>>
>
>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

--
Shachar Shemesh
Lingnu Open Systems Consulting
http://www.lingnu.com/


pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: change output of \dp
Next
From: Shachar Shemesh
Date:
Subject: Re: Defining a "tinyint" data type - one byte unsigned