Re: Quick Extensions Question

From: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>, "David E(dot) Wheeler" <david(at)kineticode(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Quick Extensions Question
Date: 2011-03-04 17:24:51
Message-ID: m2ei6mvlwc.fsf@2ndQuadrant.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> Hmm. I see your point, but "trusted" seems like it could just as easily
> be misunderstood. Anybody have any other opinions about the color of
> that bikeshed?

Well it's just that it exists with a comparable meaning elsewhere.

> I will be working on this today.

Excellent, thanks!

> 1. What should pg_dump do with the preinstalled extension plpgsql?

[... CREATE EXTENSION IF NOT EXISTS ...]

+1

> 2. What shall we do with createlang? Presumably it should start
> emitting CREATE EXTENSION not CREATE LANGUAGE, at which point it's
> really a general purpose extension installer not a PL installer.

My take here would be to rename it to better show its purpose, and
continue distributing createlang as symlink to createext.

> To what extent should we reflect that repurposing in the documentation?
> I think changing the name would be going too far: it would break
> existing scripts for little return. But it might seem a little weird
> to read "createlang -- install an extension" in the table of contents.
> Thoughts?

Well with the rename idea, the createext page would say that it used to
be called createlang and the createlang page would only exist in the
reference, pointing to the createext page. Maybe someday we'll drop it
all together but I'm not sure to see the point.

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-03-04 19:04:06 Re: Quick Extensions Question
Previous Message Robert Treat 2011-03-04 17:19:21 Re: why is max standby delay only 35 minutes?