Improve coverage of ruleutils.c for SQLValueFunctions
Michael Paquier <michael@paquier.xyz>
Improve coverage of ruleutils.c for SQLValueFunctions While looking at how these are handled in the parser and the executor, I have noticed that there is no test coverage for most of these when reverse-engineering an expression for a SQLValueFunction node in ruleutils.c, including how these are reparsed when included in a FROM clause. Some hacking in this area has showed me that these could break easily, so add some coverage to track the existing compatibility. Extracted from a much larger patch by me. Discussion: https://postgr.es/m/YzaG3MoryCguUOym@paquier.xyz
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/create_view.out | modified | +80 −2 |
| src/test/regress/sql/create_view.sql | modified | +32 −1 |
Discussion
- Getting rid of SQLValueFunction 17 messages · 2022-09-30 → 2022-12-30