pgsql: Remove dependency to query text in JumbleQuery()

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove dependency to query text in JumbleQuery()
Date: 2023-06-28 00:02:05
Message-ID: E1qEIdJ-000l9G-RR@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove dependency to query text in JumbleQuery()

Since 3db72eb, the query ID of utilities is generated using the Query
structure, making the use of the query string in JumbleQuery()
unnecessary. This commit removes the argument "querytext" from
JumbleQuery().

Reported-by: Joe Conway
Reviewed-by: Nathan Bossart
Discussion: https://postgr.es/m/ZJlQAWE4COFqHuAV@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2ecbb0a49359759b46dd82df4ac3a083c36b1db4

Modified Files
--------------
src/backend/commands/explain.c | 2 +-
src/backend/nodes/queryjumblefuncs.c | 2 +-
src/backend/parser/analyze.c | 6 +++---
src/include/nodes/queryjumble.h | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2023-06-28 07:00:08 pgsql: Ignore invalid indexes when enforcing index rules in ALTER TABLE
Previous Message noreply 2023-06-27 22:03:32 pgsql: Tag refs/tags/REL_16_BETA2 was created