Re: [HACKERS] ltree::text not immutable?

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Joe Van Dyk <joe(at)tanga(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: [HACKERS] ltree::text not immutable?
Date: 2014-11-07 13:24:45
Message-ID: CA+TgmoZDsWoK_FEq74Q7_qf9LzRA71euxMpJCWV+o8RVTSMXhA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On Thu, Nov 6, 2014 at 5:13 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com> writes:
>> On 11/5/14, 7:38 PM, Robert Haas wrote:
>>> I don't understand why you went to all the trouble of building a
>>> versioning system for extensions if you're not going to use it.
>
>> I was about to dismiss this comment since I don't see any real need for a version bump here, except that AFAIK there's no way to upgrade an extension without bumping the version, other than resorting to hackery.
>
> Well, the one or two users who actually care can fix the problem with a
> manual ALTER FUNCTION. I'm not sure it's worth making everyone else
> jump through update hoops. If it hadn't taken us years to even notice
> the issue, I might be more willing to expend work here, but I really
> doubt the audience is larger than one or two people ...

I think that's missing the point. If you bump the version, nobody is
compelled to update. If you don't, they can't, even if they want to.
This is exactly the opposite of situation from bumping catversion:
bumping catversion forces people to re-initdb, even if they don't care
about picking up the revised catalog contents, but bumping the
extension version does not do that. It just makes it difficult for
people who want to get the benefit of the changes to do so.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2014-11-07 13:25:03 Re: BUG #11883: Year 1500 not treated as leap year when it was a leap year
Previous Message Bruce Momjian 2014-11-07 07:02:57 Re: BUG #11883: Year 1500 not treated as leap year when it was a leap year

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2014-11-07 13:32:03 Re: Proposal: Log inability to lock pages during vacuum
Previous Message Andres Freund 2014-11-07 13:12:49 Re: Defining dedicated macro to grab a relation's persistence