Re: unsigned types - Mailing list pgsql-general

From jeff sacksteder
Subject Re: unsigned types
Date
Msg-id 51c8a7be0510151647r5a96f806uda8a090b849eea98@mail.gmail.com
Whole thread Raw
In response to Re: unsigned types  (Neil Conway <neilc@samurai.com>)
Responses Re: unsigned types  (Jeff Davis <jdavis-pgsql@empires.org>)
List 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.


pgsql-general by date:

Previous
From: Palle Girgensohn
Date:
Subject: linking problems with Kerberos (heimdal) on FreeBSD
Next
From: Chris Travers
Date:
Subject: Re: PostgreSQL Gotchas