]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix copy-paste error in hash_record_extended()
authorMichael Paquier <michael@paquier.xyz>
Wed, 3 Jun 2026 03:47:26 +0000 (12:47 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 3 Jun 2026 03:47:26 +0000 (12:47 +0900)
commitb3f13c0324d2e6540cc00076a1204719e5c91017
treec9e01e0ef91604829ea2161b3ee6033424fef669
parentcc0819e78ae321fd01bb40751be1f765b3932aaa
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@halodbtech.com>
Discussion: https://postgr.es/m/tencent_7818173C01E01836109848C3@qq.com
Backpatch-through: 14
src/backend/utils/adt/rowtypes.c