Re: unsigned types

From: jeff sacksteder <jsacksteder(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: unsigned types
Date: 2005-10-15 23:47:04
Message-ID: 51c8a7be0510151647r5a96f806uda8a090b849eea98@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>
> You can use a signed type with a CHECK constraint to restrict the
> column's value to positive integers.

The sign doesn't concern me. I am storing a value that is unsigned and 16
bits wide natively. I'll have to just use an int4 and waste twice the space
I actually need.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Travers 2005-10-16 00:07:14 Re: PostgreSQL Gotchas
Previous Message Jim C. Nasby 2005-10-15 23:34:00 Re: [pgsql-advocacy] Oracle buys Innobase