pgsql: Split function definitions out of system_views.sql into a new fi - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Split function definitions out of system_views.sql into a new fi
Date
Msg-id E1lXX5P-0003mz-1Y@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Allow TestLib::slurp_file to skip contents, and use as needed
Next
From: Tom Lane
Date:
Subject: pgsql: Update dummy prosrc values.