Re: Quick Extensions Question - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: Quick Extensions Question
Date
Msg-id m2ei6mvlwc.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: Quick Extensions Question  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Quick Extensions Question
Next
From: Robert Treat
Date:
Subject: Re: why is max standby delay only 35 minutes?