Re: [postgis-devel] About EXTENSION from UNPACKAGED on PostgreSQL 13

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Sandro Santilli <strk@kbt.io>
Cc: Stephen Frost <sfrost@snowman.net>, PostGIS Development Discussion <postgis-devel@lists.osgeo.org>, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2020-02-26T14:35:46Z
Lists: pgsql-hackers
> On 26 Feb 2020, at 15:13, Sandro Santilli <strk@kbt.io> wrote:

> On pgsql-hackers we only want to find a future-proof way to "package
> existing objects into an extension".

What is the longterm goal of PostGIS, to use this as a stepping stone to reach
a point where no unpackaged extensions exist; or find a way to continue with
the current setup except with syntax that isn't going away?

> If the syntax
> `CREATE EXTENSION <extname> FROM UNPACKAGED` 
> has gone, would it be ok for just:
> `CREATE EXTENSION <extname>`
> to intercept unpackaged objects and package them ?

Overloading the same syntax for creating packaged as well as unpackaged
extensions sounds like the wrong path to go down.

cheers ./daniel