summaryrefslogtreecommitdiff
path: root/src/include/nodes
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-06-28 08:59:36 +0900
committerMichael Paquier <michael@paquier.xyz>2023-06-28 08:59:36 +0900
commit2ecbb0a49359759b46dd82df4ac3a083c36b1db4 (patch)
tree73bb27d6a41a51e040c08827085774991198f23e /src/include/nodes
parent876d17d62fe84d706058f2458f067f0e9049a230 (diff)
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
Diffstat (limited to 'src/include/nodes')
-rw-r--r--src/include/nodes/queryjumble.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/nodes/queryjumble.h b/src/include/nodes/queryjumble.h
index 3499bfd4a09..7649e095aa5 100644
--- a/src/include/nodes/queryjumble.h
+++ b/src/include/nodes/queryjumble.h
@@ -64,7 +64,7 @@ extern PGDLLIMPORT int compute_query_id;
extern const char *CleanQuerytext(const char *query, int *location, int *len);
-extern JumbleState *JumbleQuery(Query *query, const char *querytext);
+extern JumbleState *JumbleQuery(Query *query);
extern void EnableQueryId(void);
extern PGDLLIMPORT bool query_id_enabled;