From: Ronan Dunklau <ronan.dunklau@aiven.io>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-hackers@lists.postgresql.org
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Subject: Re: Converting contrib SQL functions to new style
Date: Tue, 29 Oct 2024 08:28:55 +0100
Message-ID: <3316564.aeNJFYEL58@aivenlaptop> (raw)
In-Reply-To: <2102171.1630517255@sss.pgh.pa.us>
References: <3395418.1618352794@sss.pgh.pa.us>
<icwj06MeNjimdlNmL6h9X5bmqwe0QngwSOzunFna3RS9fYIxyAFMi7UG7hOp4CQTmFEHDkdhG3z9iBpXHBwNOA==@protonmail.internalid>
<2102171.1630517255@sss.pgh.pa.us>
Le mercredi 1 septembre 2021, 19:27:35 heure normale d’Europe centrale Tom
Lane a écrit :
> The rest of this is stuck pending investigation of the ideas about
> making new-style function creation safer when the creation-time path
> isn't secure, so I suppose we should mark it RWF rather than leaving
> it in the queue. Will go do that.
Sorry to revive such an old thread but ... since the introduction of the
@extschema:name@ syntax in 72a5b1fc880481914da2d4233077438dd87840ca we can now
proceed with this or am I missing something ?
I've updated the previous patches to convert them to the new-style, added one
for lo as well. Most of them are just patching against a newer extension
version than what was provided at the time, except for earthdistance which now
references everything explicitly by pg_catalog or @extschema:cube@.
This is a bit tangential to the initial subject, but take the opportunity to
also update the CREATE DOMAIN statement in earthdistance extension to
explicitly reference the cube schema.
Best regards,
--
Ronan Dunklau
Attachments:
v2-0005-Use-new-style-SQL-function-in-xml2-extension.patch (text/x-patch, 0B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: ronan.dunklau@aiven.io, tgl@sss.pgh.pa.us, pgsql-hackers@lists.postgresql.org, peter.eisentraut@enterprisedb.com
Subject: Re: Converting contrib SQL functions to new style
In-Reply-To: <3316564.aeNJFYEL58@aivenlaptop>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox