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

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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Shachar Shemesh 2004-03-11 05:09:33 Re: Defining a "tinyint" data type - one byte unsigned
Previous Message Bruce Momjian 2004-03-11 02:38:52 Re: libpq thread safety