Re: [PATCH] Use DatumGetUInt32() for dsm_attach() in test_shm_mq_main()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] Use DatumGetUInt32() for dsm_attach() in test_shm_mq_main()
Дата
Msg-id 1623653.1751025792@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] Use DatumGetUInt32() for dsm_attach() in test_shm_mq_main()  (Nathan Bossart <nathandbossart@gmail.com>)
Список pgsql-hackers
Nathan Bossart <nathandbossart@gmail.com> writes:
> On Thu, Jun 26, 2025 at 01:46:10PM -0700, Jianghua Yang wrote:
>> These errors trace back to failures in `dsm_attach()`, where the
>> segment handle value was incorrectly interpreted due to sign extension
>> from `int32`.

> I think there might be something else going on.

I agree with Nathan: the patch you proposed is purely cosmetic.
I don't object to it, but you need to dig deeper because this
will not resolve any actual behavioral problem.

            regards, tom lane



В списке pgsql-hackers по дате отправления: