Use correct DatumGet*() function in test_shm_mq_main().
authorNathan Bossart <nathan@postgresql.org>
Fri, 27 Jun 2025 18:37:26 +0000 (13:37 -0500)
committerNathan Bossart <nathan@postgresql.org>
Fri, 27 Jun 2025 18:37:26 +0000 (13:37 -0500)
commite2f06282124b86a8ab7604c51de2dad749266fee
treecd2ba84d0fb531f0d00d63cb322307ee404b7d8e
parent5a24c20c8442168fd75ff878eb6f99026a31b58b
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@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: http://postgr.es/m/CAAZLFmRxkUD5jRs0W3K%3DUe4_ZS%2BRcAb0PCE1S0vVJBn3sWH2UQ%40mail.gmail.com
Backpatch-through: 13
src/test/modules/test_shm_mq/worker.c