pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Convert built-in SQL-language functions to SQL-standard-body sty
3+ messages / 2 participants
[nested] [flat]
* pgsql: Convert built-in SQL-language functions to SQL-standard-body sty
@ 2021-04-16 22:37 Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 3+ messages in thread
From: Tom Lane @ 2021-04-16 22:37 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/767982e36298be4da44a063e36261e9cfdc0bf49
Modified Files
--------------
src/backend/catalog/information_schema.sql | 48 ++--
src/backend/catalog/system_functions.sql | 350 ++++++++++++++++++++++++++---
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 115 +++++-----
4 files changed, 402 insertions(+), 113 deletions(-)
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pgsql: Convert built-in SQL-language functions to SQL-standard-body sty
@ 2021-04-20 15:49 Emre Hasegeli <emre@hasegeli.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 3+ messages in thread
From: Emre Hasegeli @ 2021-04-20 15:49 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers@lists.postgresql.org
> + prosrc => 'see system_views.sql' },
Shouldn't it say "see system_functions.sql"?
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pgsql: Convert built-in SQL-language functions to SQL-standard-body sty
@ 2021-04-20 15:58 Tom Lane <tgl@sss.pgh.pa.us>
parent: Emre Hasegeli <emre@hasegeli.com>
0 siblings, 0 replies; 3+ messages in thread
From: Tom Lane @ 2021-04-20 15:58 UTC (permalink / raw)
To: emre@hasegeli.com; +Cc: pgsql-committers@lists.postgresql.org
Emre Hasegeli <emre@hasegeli.com> writes:
>> + prosrc => 'see system_views.sql' },
> Shouldn't it say "see system_functions.sql"?
Yeah, I fixed that later.
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2021-04-20 15:58 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-04-16 22:37 pgsql: Convert built-in SQL-language functions to SQL-standard-body sty Tom Lane <tgl@sss.pgh.pa.us>
2021-04-20 15:49 ` Emre Hasegeli <emre@hasegeli.com>
2021-04-20 15:58 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox