pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make get_extension_schema() available
Date: Tue, 07 Mar 2023 05:30:21 +0000
Message-ID: <E1pZPu1-002IMQ-3m@gemulon.postgresql.org> (raw)

Make get_extension_schema() available

This routine is able to retrieve the OID of the schema used with an
extension (pg_extension.extnamespace), or InvalidOid if this information
is not available.  plpgsql_check embeds a copy of this code when
performing checks on functions, as one out-of-core example.

Author: Pavel Stehule
Reviewed-by: Julien Rouhaud
Discussion: https://postgr.es/m/CAFj8pRD+9x55hjDoi285jCcjPc8uuY_D+FLn5RpXggdz+4O2sQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e20b1ea1575cb523821d51e9934d8d6dab835335

Modified Files
--------------
src/backend/commands/extension.c | 2 +-
src/include/commands/extension.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)



Message-ID: <E1pZPu1-002IMQ-3m@gemulon.postgresql.org>
Permalink:  ../E1pZPu1-002IMQ-3m@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pZPu1-002IMQ-3m@gemulon.postgresql.org

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Make get_extension_schema() available
  In-Reply-To: <E1pZPu1-002IMQ-3m@gemulon.postgresql.org>
  References: <E1pZPu1-002IMQ-3m@gemulon.postgresql.org>

* 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