Re: Getting rid of SQLValueFunction
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Corey Huinker <corey.huinker@gmail.com>,
Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-10-21T03:10:22Z
Lists: pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes: > But the patch enforces the attribute name to be the underlying > function name, switching the previous "current_catalog" to > "current_database". The entire point of SQLValueFunction IMO was to hide the underlying implementation(s). Replacing it with something that leaks implementation details does not seem like a step forward. regards, tom lane
Commits
-
Fix precision handling for some COERCE_SQL_SYNTAX functions
- 7aa81c61ec8f 16.0 landed
-
Replace SQLValueFunction by COERCE_SQL_SYNTAX
- f193883fc9ce 16.0 landed
-
Switch SQLValueFunction on "name" to use COERCE_SQL_SYNTAX
- fb32748e32e2 16.0 landed
-
Improve coverage of ruleutils.c for SQLValueFunctions
- 2e0d80c5bb72 16.0 landed