Re: shoud be get_extension_schema visible?

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Julien Rouhaud <rjuju123@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-03-06T07:44:59Z
Lists: pgsql-hackers
On Mon, Mar 06, 2023 at 08:34:49AM +0100, Pavel Stehule wrote:
>> Note for other reviewers / committers: this is a something actually already
>> wanted for 3rd party code.  As an example, here's Pavel's code in
>> plpgsql_check
>> extension that internally has to duplicate this function (and deal with
>> compatibility):
>> https://github.com/okbob/plpgsql_check/blob/master/src/catalog.c#L205

I can see why you'd want that, so OK from here to provide this routine
for external consumption.  Let's first wait a bit and see if others
have any kind of objections or comments.
--
Michael

Commits

  1. Make get_extension_schema() available