Re: Quick Extensions Question

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: Quick Extensions Question
Дата
Msg-id m2ei6mvlwc.fsf@2ndQuadrant.fr
обсуждение исходный текст
Ответ на Re: Quick Extensions Question  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Quick Extensions Question
Следующее
От: Robert Treat
Дата:
Сообщение: Re: why is max standby delay only 35 minutes?