Convert built-in SQL-language functions to SQL-standard-body style.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 Apr 2021 22:36:45 +0000 (18:36 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 Apr 2021 22:37:02 +0000 (18:37 -0400)
commit767982e36298be4da44a063e36261e9cfdc0bf49
tree01504b7acb6310f5f70cde672e66f6ec8047cb9a
parente80949372564c126c92aa7d64de483e04c0ef95e
Convert built-in SQL-language functions to SQL-standard-body style.

Adopt the new pre-parsed representation for all built-in and
information_schema SQL-language functions, except for a small
number that can't presently be converted because they have
polymorphic arguments.

This eliminates residual hazards around search-path safety of
these functions, and might provide some small performance benefits
by reducing parsing costs.  It seems useful also to provide more
test coverage for the SQL-standard-body feature.

Discussion: https://postgr.es/m/3956760.1618529139@sss.pgh.pa.us
src/backend/catalog/information_schema.sql
src/backend/catalog/system_functions.sql
src/include/catalog/catversion.h
src/include/catalog/pg_proc.dat