Convert built-in SQL-language functions to SQL-standard-body style.
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/information_schema.sql | modified | +20 −28 |
| src/backend/catalog/system_functions.sql | modified | +318 −32 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.dat | modified | +63 −52 |
Discussion
- Converting built-in SQL functions to new style 3 messages · 2021-04-15 → 2021-04-16