Re: Generating code for query jumbling through gen_node_support.pl
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>, "Drouvot, Bertrand" <bdrouvot@amazon.com>
Date: 2023-01-17T07:52:28Z
Lists: pgsql-hackers
On Tue, Jan 17, 2023 at 08:43:44AM +0100, Peter Eisentraut wrote: > Ok, I understand now, and I agree with this approach over the opposite. I > was confused because the snippet you showed above used "jumble_ignore", but > your patch is correct as it uses "jumble_location". Okay. I'll refresh the patch set so as we have only "jumble_ignore", then, like v1, with preparatory patches for what you mentioned and anything that comes into mind. > That said, the term "jumble" is really weird, because in the sense that we > are using it here it means, approximately, "to mix together", "to unify". > So what we are doing with the Const nodes is really to *not* jumble the > location, but for all other node types we are jumbling the location. At > least that is my understanding. I am quite familiar with this term, FWIW. That's what we've inherited from the days where this has been introduced in pg_stat_statements. -- Michael
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