Re: unsigned types

Поиск
Список
Период
Сортировка
Искать
От
jeff sacksteder
Тема
Re: unsigned types
Дата
Msg-id
51c8a7be0510151647r5a96f806uda8a090b849eea98@mail.gmail.com
Ответ на
Re: unsigned types (Neil Conway)
Список
Дерево обсуждения
unsigned types jeff sacksteder <jsacksteder@gmail.com>
Re: unsigned types Neil Conway <neilc@samurai.com>
Re: unsigned types jeff sacksteder <jsacksteder@gmail.com>
Re: unsigned types Jeff Davis <jdavis-pgsql@empires.org>
Re: unsigned types "Jim C. Nasby" <jnasby@pervasive.com>
Re: unsigned types Neil Conway <neilc@samurai.com>
Re: unsigned types Tom Lane <tgl@sss.pgh.pa.us>
Re: unsigned types Greg Stark <gsstark@mit.edu>
Re: unsigned types Martijn van Oosterhout <kleptog@svana.org>
Re: unsigned types Michael Glaesemann <grzm@myrealbox.com>
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 по дате отправления
От: Palle Girgensohn
Дата:
От: Chris Travers
Дата:
Сообщение: Re: PostgreSQL Gotchas
FAQ