Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite809493

Browse files
committed
Split function definitions out of system_views.sql into a new file.
Invent system_functions.sql to carry the function definitions thatwere formerly in system_views.sql. The function definitions werealready a quarter of the file and are about to be more, so it seemsappropriate to give them their own home.In passing, fix an oversight indfb75e4: it neglected to callcheck_input() for system_constraints.sql.Discussion:https://postgr.es/m/3956760.1618529139@sss.pgh.pa.us
1 parent3c5b068 commite809493

File tree

4 files changed

+401
-381
lines changed

4 files changed

+401
-381
lines changed

‎src/backend/catalog/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ $(top_builddir)/src/include/catalog/header-stamp: bki-stamp
122122
install-data: bki-stamp installdirs
123123
$(INSTALL_DATA)$(call vpathsearch,postgres.bki)'$(DESTDIR)$(datadir)/postgres.bki'
124124
$(INSTALL_DATA)$(call vpathsearch,system_constraints.sql)'$(DESTDIR)$(datadir)/system_constraints.sql'
125+
$(INSTALL_DATA)$(srcdir)/system_functions.sql'$(DESTDIR)$(datadir)/system_functions.sql'
125126
$(INSTALL_DATA)$(srcdir)/system_views.sql'$(DESTDIR)$(datadir)/system_views.sql'
126127
$(INSTALL_DATA)$(srcdir)/information_schema.sql'$(DESTDIR)$(datadir)/information_schema.sql'
127128
$(INSTALL_DATA)$(srcdir)/sql_features.txt'$(DESTDIR)$(datadir)/sql_features.txt'
@@ -131,7 +132,7 @@ installdirs:
131132

132133
.PHONY: uninstall-data
133134
uninstall-data:
134-
rm -f$(addprefix '$(DESTDIR)$(datadir)'/, postgres.bki system_constraints.sql system_views.sql information_schema.sql sql_features.txt)
135+
rm -f$(addprefix '$(DESTDIR)$(datadir)'/, postgres.bki system_constraints.sqlsystem_functions.sqlsystem_views.sql information_schema.sql sql_features.txt)
135136

136137
# postgres.bki, system_constraints.sql, and the generated headers are
137138
# in the distribution tarball, so they are not cleaned here.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp