Re: Unsigned integer types

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Unsigned integer types
Дата
Msg-id 51A4A15E.9060402@dunslane.net
обсуждение исходный текст
Ответ на Re: Unsigned integer types  (Maciej Gajewski <maciej.gajewski0@gmail.com>)
Список pgsql-hackers
On 05/28/2013 05:17 AM, Maciej Gajewski wrote:
> I'm afraid that implementing uints as and extension would introduce
> some performance penalty (I may be wrong).

You are.

> I'm also afraid that with
> the extension I'd be left on my own maintaining it forever. While if
> this could go into the core product, it would live forever.

This is an argument against ever doing anything as an extension.


You have not at all addressed the real problem with doing what you are 
asking for, the one that Tom Lane stated:

>> Basically, there is zero chance this will happen unless you can find
>> a way of fitting them into the numeric promotion hierarchy that doesn't
>> break a lot of existing applications.  We have looked at this more than
>> once, if memory serves, and failed to come up with a workable design
>> that didn't seem to violate the POLA.
>>


cheers

andrew



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

Предыдущее
От: Szymon Guz
Дата:
Сообщение: Re: storing plpython global pointer
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: Extent Locks