pgsql: Split function definitions out of system_views.sql into a new fi

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Split function definitions out of system_views.sql into a new fi
Date: 2021-04-16 22:37:15
Message-ID: E1lXX5P-0003mz-1Y@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Split function definitions out of system_views.sql into a new file.

Invent system_functions.sql to carry the function definitions that
were formerly in system_views.sql. The function definitions were
already a quarter of the file and are about to be more, so it seems
appropriate to give them their own home.

In passing, fix an oversight in dfb75e478: it neglected to call
check_input() for system_constraints.sql.

Discussion: https://postgr.es/m/3956760.1618529139@sss.pgh.pa.us

Branch
------
master

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

Modified Files
--------------
src/backend/catalog/Makefile | 3 +-
src/backend/catalog/system_functions.sql | 392 +++++++++++++++++++++++++++++++
src/backend/catalog/system_views.sql | 381 +-----------------------------
src/bin/initdb/initdb.c | 6 +
4 files changed, 401 insertions(+), 381 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-04-16 23:01:28 pgsql: Update dummy prosrc values.
Previous Message Andrew Dunstan 2021-04-16 21:42:14 pgsql: Allow TestLib::slurp_file to skip contents, and use as needed