Re: int1?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: int1?
Дата
Msg-id 4093.1066091907@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: int1?  (Sean Chittenden <sean@chittenden.org>)
Ответы Re: int1?
Список pgsql-general
Sean Chittenden <sean@chittenden.org> writes:
>> If we were going to do that I think we'd be better off making a new
>> type and leaving "char" alone.

> You won't hear any disagreements from me on this one.  I've
> sufficiently abused "char" as a 1 byte storage field and would love to
> see an int1 or tinyint datatype added to cover this situation.  -sc

That's been discussed before.  I think it was shelved until we figure
out a reasonably clean solution to the existing mess with assigning the
most useful datatypes to integer constants (the "you need to cast" set
of problems).  Throwing an additional integer type into the stew right
now would just make things worse :-(

            regards, tom lane

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

Предыдущее
От: David Link
Дата:
Сообщение: Re: A conditional DROP TABLE function
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Locale bug?