Hi, The attached patch fixes a minor type mismatch in `test_shm_mq_main()`.
The argument passed to `dsm_attach()` is expected to be a `uint32`, but the code currently uses `DatumGetInt32()` to extract it from the `Datum` argument. This can lead to incorrect behavior when the high bit is set, as 'unable to map dynamic shared memory segment'. This patch changes it to use `DatumGetUInt32()` to match the expected type and ensure correctness. Thanks, Jianghua Yang
0001-Fix-type-mismatch-in-dsm_attach-argument-by-using-Da.patch
Description: Binary data