Re: Is there unsigned datatype in PostgreSQL?

Поиск
Список
Период
Сортировка
От Henry House
Тема Re: Is there unsigned datatype in PostgreSQL?
Дата
Msg-id 20010718183822.A21783@houseag.com
обсуждение исходный текст
Ответ на Is there unsigned datatype in PostgreSQL?  (Carfield Yim <mailing@desktop.carfield.com.hk>)
Список pgsql-novice
On Thu, Jul 19, 2001 at 01:47:40AM +0800, Carfield Yim wrote:
> Is there unsigned datatype like unsigned int?

Oddly enough, no. If you are only interested in positive numbers, you could
use the function ABS() (absolute value) to convert numeric fields to positive
integers when you store them.

Also it is possible to add new data types to PostgreSQL using the C
interface, though the result will be non-portable.

--
Henry House
OpenPGP key available from http://romana.hajhouse.org/hajhouse.asc

Вложения

В списке pgsql-novice по дате отправления:

Предыдущее
От: "Robby Slaughter"
Дата:
Сообщение: RE: Is there unsigned datatype in PostgreSQL?
Следующее
От: "Leandro Fanzone"
Дата:
Сообщение: ANSI SQL