Split function definitions out of system_views.sql into a new file.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 Apr 2021 22:20:42 +0000 (18:20 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 Apr 2021 22:37:02 +0000 (18:37 -0400)
commite80949372564c126c92aa7d64de483e04c0ef95e
treea58ee2cf17881756a9c0722b53af6d9a49f646b1
parent3c5b0685b921533f37622345beb0f8dd49200c01
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
src/backend/catalog/Makefile
src/backend/catalog/system_functions.sql [new file with mode: 0644]
src/backend/catalog/system_views.sql
src/bin/initdb/initdb.c