]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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)
commit07402e370e5b07d342a74025407f37a38fe9f064
tree9f7942152d5e76cd637a47be284d70167c71d7c0
parent40c9b4d8dafc7e573df1f783d22be292a0ed323b
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: https://postgr.es/m/CAAZLFmRxkUD5jRs0W3K%3DUe4_ZS%2BRcAb0PCE1S0vVJBn3sWH2UQ%40mail.gmail.com
Backpatch-through: 13
src/test/modules/test_shm_mq/worker.c