pgsql: Fix copy-paste error in hash_record_extended()

Started by Michael Paquier21 days ago1 messagescomitters
Jump to latest
#1Michael Paquier
michael@paquier.xyz

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: /messages/by-id/tencent_7818173C01E01836109848C3@qq.com
Backpatch-through: 14

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b3f13c0324d2e6540cc00076a1204719e5c91017

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