pgsql: Fix two issues with custom_query_jumble in gen_node_support.pl

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix two issues with custom_query_jumble in gen_node_support.pl
Date: 2025-03-26 00:06:50
Message-ID: E1txEID-001071-2G@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix two issues with custom_query_jumble in gen_node_support.pl

A node field marked with custom_query_jumble and query_jumble_ignore
would generate some code of a custom routine. The script is changed so
as custom_query_jumble behaves like the other options in this case,
query_jumble_ignore taking priority, with no code generated.

A comment related to the code generated for node types was misplaced.

Thinkos introduced in 5ac462e2b7ac.

Reported-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/1324036.1742945060@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/27ee6ede6bc9ee287f321d396c5c777083d40ecd

Modified Files
--------------
src/backend/nodes/gen_node_support.pl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2025-03-26 00:38:10 pgsql: Add pg_dump --with-{schema|data|statistics} options.
Previous Message Tom Lane 2025-03-26 00:04:06 pgsql: Fix order of -I switches for building pg_regress.o.