From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Routine usage information schema tables
Date: Wed, 17 Feb 2021 17:19:00 +0000
Message-ID: <E1lCQTc-0003dn-AQ@gemulon.postgresql.org> (raw)
Routine usage information schema tables
Several information schema views track dependencies between
functions/procedures and objects used by them. These had not been
implemented so far because PostgreSQL doesn't track objects used in a
function body. However, formally, these also show dependencies used
in parameter default expressions, which PostgreSQL does support and
track. So for the sake of completeness, we might as well add these.
If dependency tracking for function bodies is ever implemented, these
views will automatically work correctly.
Reviewed-by: Erik Rijkers <er@xs4all.nl>
Discussion: https://www.postgresql.org/message-id/flat/ac80fc74-e387-8950-9a31-2560778fc1e3%40enterprisedb.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/f40c6969d0eddfc6de786006bd1048961a65a0eb
Modified Files
--------------
doc/src/sgml/information_schema.sgml | 443 ++++++++++++++++++++++++
src/backend/catalog/information_schema.sql | 100 +++++-
src/backend/catalog/sql_features.txt | 2 +-
src/include/catalog/catversion.h | 2 +-
src/test/regress/expected/create_function_3.out | 38 ++
src/test/regress/sql/create_function_3.sql | 24 ++
6 files changed, 603 insertions(+), 6 deletions(-)
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: peter@eisentraut.org
Subject: Re: pgsql: Routine usage information schema tables
In-Reply-To: <E1lCQTc-0003dn-AQ@gemulon.postgresql.org>
References: <E1lCQTc-0003dn-AQ@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