Re: Unsigned integer types - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Unsigned integer types
Date
Msg-id 51A4A15E.9060402@dunslane.net
Whole thread Raw
In response to Re: Unsigned integer types  (Maciej Gajewski <maciej.gajewski0@gmail.com>)
List 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 by date:

Previous
From: Szymon Guz
Date:
Subject: Re: storing plpython global pointer
Next
From: Stephen Frost
Date:
Subject: Re: Extent Locks