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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
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:41:25
Message-ID: 3850.1414957285@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> On 11/02/2014 11:53 AM, Tom Lane wrote:
>> 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.

Not following your point? Removing the type entirely would certainly
break pg_upgrade-ability as well.

>>> 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?

Nothing that I recall at the moment, but there is certainly plenty of
stuff of dubious quality in there. I'd argue that chkpass, intagg,
intarray, isn, spi, and xml2 are all in worse shape than the money type.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2014-11-02 21:34:34 Re: Silly coding in pgcrypto
Previous Message Andrew Dunstan 2014-11-02 19:24:25 Re: Let's drop two obsolete features which are bear-traps for novices