pgsql: Fix copy-paste error in hash_record_extended()

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix copy-paste error in hash_record_extended()
Date: 2026-06-03 03:48:28
Message-ID: E1wUcai-000qYi-1E@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix copy-paste error in hash_record_extended()

The code failed to initialize the second isnull argument passed to
FunctionCallInvoke(). This is harmless for existing in-core extended
hash support functions, since FunctionCallInvoke() does not use the
value (note that all the in-core extended hash functions are strict),
examining only the argument values. However, extension-provided
extended hash functions could be affected if they inspect
PG_ARGISNULL(1).

Oversight in 01e658fa74cb.

Author: Man Zeng <zengman(at)halodbtech(dot)com>
Discussion: https://postgr.es/m/tencent_7818173C01E01836109848C3@qq.com
Backpatch-through: 14

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8b5580a059d5bb3bd688e29e959548a81ce0f01a

Modified Files
--------------
src/backend/utils/adt/rowtypes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2026-06-03 07:53:58 pgsql: vacuumdb: Fix --analyze-in-stages skipping partitioned tables
Previous Message Richard Guo 2026-06-03 01:13:20 pgsql: Fix eager aggregation for semi/antijoin inner rels