pgsql: Use correct DatumGet*() function in test_shm_mq_main().

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use correct DatumGet*() function in test_shm_mq_main().
Date: 2025-06-27 18:38:51
Message-ID: E1uVDyN-003cgL-1W@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use correct DatumGet*() function in test_shm_mq_main().

This is purely cosmetic, as dsm_attach() interprets its argument as
a dsm_handle (i.e., an unsigned integer), but we might as well fix
it.

Oversight in commit 4db3744f1f.

Author: Jianghua Yang <yjhjstz(at)gmail(dot)com>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/CAAZLFmRxkUD5jRs0W3K%3DUe4_ZS%2BRcAb0PCE1S0vVJBn3sWH2UQ%40mail.gmail.com
Backpatch-through: 13

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/01f26f5c2e4563a2dfc6a32dfe1d309c004bd748

Modified Files
--------------
src/test/modules/test_shm_mq/worker.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-06-28 17:24:11 pgsql: Message style improvements
Previous Message Bertrand Drouvot 2025-06-27 17:33:26 Re: pgsql: Introduce pg_shmem_allocations_numa view