Re: single bit integer (TINYINT) revisited for 8.5

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: single bit integer (TINYINT) revisited for 8.5
Дата
Msg-id 12600.1246466146@sss.pgh.pa.us
обсуждение исходный текст
Ответ на single bit integer (TINYINT) revisited for 8.5  (Caleb Cushing <xenoterracide@gmail.com>)
Список pgsql-hackers
Caleb Cushing <xenoterracide@gmail.com> writes:
> On Wed, Jul 1, 2009 at 11:41 AM, Kevin
> Grittner<Kevin.Grittner@wicourts.gov> wrote:
>> Many databases
>> support a TINYINT type as a single-byte value, although I'm not sure
>> there's consistency on whether that's a signed or unsigned value.

> wouldn't any implementation in pg support both?

Introducing unsigned types into PG is a whole different discussion.
The problem there is designing reasonable automatic promotion rules.
Considering that C's rules still confuse people after nigh 40 years,
I'm not enthusiastic about it ...
        regards, tom lane


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

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: Mention CITEXT in the FAQ
Следующее
От: Ron Mayer
Дата:
Сообщение: Re: 8.5 development schedule