Re: Generating code for query jumbling through gen_node_support.pl
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>,
Postgres hackers <pgsql-hackers@lists.postgresql.org>,
"Drouvot,
Bertrand" <bdrouvot@amazon.com>
Date: 2023-02-07T22:32:07Z
Lists: pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes: > With all that in mind, I have spent my day polishing that and doing a > close lookup, and the patch has been applied. Thanks a lot! I have just noticed that this patch is generating useless jumbling code for node types such as Path nodes and other planner infrastructure nodes. That no doubt contributes to the miserable code coverage rating for queryjumblefuncs.*.c, which have enough dead lines to drag down the overall rating for all of backend/nodes/. Shouldn't a little more attention have been paid to excluding entire node classes if they can never appear in Query? regards, tom lane
Commits
-
Mark more nodes with attribute no_query_jumble
- 2a507f6fd8b7 16.0 landed
-
Include values of A_Const nodes in query jumbling
- 9ba37b2cb6a1 16.0 landed
-
Generate code for query jumbling through gen_node_support.pl
- 3db72ebcbe20 16.0 landed
-
Rework format of comments in headers for nodes
- 5d29d525ffe0 16.0 landed
-
Move queryjumble.c code to src/backend/nodes/
- 8eba3e3f0208 16.0 landed
-
Fix some compiler warnings in aset.c and generation.c
- b82557ecc2eb 16.0 cited
-
Reformat some node comments
- 835d476fd21b 16.0 cited