From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Improve comment about query_id_enabled in queryjumblefuncs.c |
Date: | 2024-02-13 22:21:24 |
Message-ID: | E1ra19Y-0064We-Aq@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Improve comment about query_id_enabled in queryjumblefuncs.c
The comment was inexact because query_id_enabled will not be switched to
"true" even if compute_query_id is "on", unless a module requests for
it.
While on it, this adds a comment to mention that IsQueryIdEnabled()
should be used to check if query ID computation is enabled or not.
Author: Yugo Nagata
Reviewed-by: Julien Rouhaud
Discussion: https://postgr.es/m/20240209153823.e29a68cadb14225f1362a2cf@sraoss.co.jp
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/f854dae888ab69db92153369644951dfb5b3d034
Modified Files
--------------
src/backend/nodes/queryjumblefuncs.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2024-02-13 23:59:41 | pgsql: pgcrypto: Fix incorrect argument vs PG_GETARG*() mappings |
Previous Message | Tom Lane | 2024-02-13 20:58:47 | pgsql: Catch overflow when rounding intervals in AdjustIntervalForTypmo |