Re: Let's drop two obsolete features which are bear-traps for novices

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Jaime Casanova <jaime(at)2ndquadrant(dot)com>, Andres Freund <andres(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Josh Berkus <josh(at)agliodbs(dot)com>
Subject: Re: Let's drop two obsolete features which are bear-traps for novices
Date: 2014-11-02 19:24:25
Message-ID: 545684E9.5080209@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 11/02/2014 11:53 AM, Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>> On 11/02/2014 10:01 AM, Jaime Casanova wrote:
>>> Not knowing how difficult it could be maybe a fair compromise is to
>>> move MONEY datatype to a contrib. And documenting its limitations.
>> That's pretty much dead in the water, I think. Builtin types and
>> functions have Oid values in different ranges from non-builtin types
>> such as those in contrib. It's one reason we have no chance of bringing
>> hstore into core as people have previously asked for. And for the same
>> reason I think moving a core type out to contrib won't work.
> Well, the OID compatibility issue could be dodged by saying that we can't
> do a pg_upgrade (in-place upgrade) of a database containing MONEY
> columns. In fact, we might be able to just reject databases containing
> MONEY[] (array) columns, which seems like it might be only a minor hazard.
> Either way, requiring a dump/reload for upgrade is surely a better answer
> for users of the type than just summarily screwing them.

Well, OK, yes, if we're prepared to abandon pg_upgrade-ability.

>
>> In any
>> case, contrib shouldn't be a rubbish heap of old deprecated features.
> There's a fair amount of contrib that was never anything else, so I don't
> agree with that reasoning too much.
>
>

Maybe my memory is failing. What in contrib is stuff that used to be in
core?

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-11-02 19:41:25 Re: Let's drop two obsolete features which are bear-traps for novices
Previous Message Noah Misch 2014-11-02 19:00:24 Re: TAP test breakage on MacOS X