pgsql: pg_plan_advice: Fix variable type confusion.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_plan_advice: Fix variable type confusion.
Date: 2026-03-17 15:42:27
Message-ID: E1w2WYs-000BP8-0l@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_plan_advice: Fix variable type confusion.

pgs_mask values should always be uint64, but in a couple of
places I incorrectly used uint32. Fix that.

Reported-by: David Rowley <dgrowleyml(at)gmail(dot)com>
Discussion: http://postgr.es/m/CAApHDvquH6wnp4fhpaCOkC4R3KAvr2BOTbhhDPDQCBNR3YbLMQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7560995a38dc408ae78973728965d052ccdbdb48

Modified Files
--------------
contrib/pg_plan_advice/pgpa_planner.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2026-03-17 15:52:43 pgsql: Hardcode typeof_unqual to __typeof_unqual__ for clang
Previous Message Andrew Dunstan 2026-03-17 15:31:24 pgsql: make immutability tests in to_json and to_jsonb complete