pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove dependency to query text in JumbleQuery()
Date: Wed, 28 Jun 2023 00:02:05 +0000
Message-ID: <E1qEIdJ-000l9G-RR@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1qEIdJ-000l9G-RR@gemulon.postgresql.org>
Permalink:  ../E1qEIdJ-000l9G-RR@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qEIdJ-000l9G-RR@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove dependency to query text in JumbleQuery()
  In-Reply-To: <E1qEIdJ-000l9G-RR@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox