Re: Allow an extention to be updated without a script - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Allow an extention to be updated without a script
Date
Msg-id 888061.1675112752@sss.pgh.pa.us
Whole thread Raw
In response to Allow an extention to be updated without a script  (Yugo NAGATA <nagata@sraoss.co.jp>)
Responses Re: Allow an extention to be updated without a script
List pgsql-hackers
Yugo NAGATA <nagata@sraoss.co.jp> writes:
> Currently, even when we don't need to execute any command to update an
> extension from one version to the next, we need to provide an update
> script that doesn't contain any command. Preparing such meaningless
> files are sometimes annoying.

If you have no update script, why call it a new version?  The point
of extension versions is to distinguish different states of the
extension's SQL objects.  We do not consider mods in underlying C code
to justify a new version.

> The attached patch introduces a new option "updates_without_script"
> into extension control file. This specifies a list of such updates
> following the pattern 'old_version--target_version'.

This seems completely unnecessary and confusing.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Jacob Champion
Date:
Subject: Re: Authentication fails for md5 connections if ~/.postgresql/postgresql.{crt and key} exist
Next
From: Jacob Champion
Date:
Subject: Re: postgres_fdw, dblink, and CREATE SUBSCRIPTION security