postgresql/src
Masahiko Sawada 85d5bd308b Fix macro name for io_uring_queue_init_mem check.
Commit f54af9f267 added a check for
io_uring_queue_init_mem(). However, it used the macro name
HAVE_LIBURING_QUEUE_INIT_MEM in both meson.build and the C code, while
the Autotools build script defined HAVE_IO_URING_QUEUE_INIT_MEM. As a
result, the optimization was never enabled in builds configured with
Autotools, as the C code checked for the wrong macro name.

This commit changes the macro name to HAVE_IO_URING_QUEUE_INIT_MEM in
meson.build and the C code. This matches the actual function
name (io_uring_queue_init_mem), following the standard HAVE_<FUNCTION>
convention.

Backpatch to 18, where the macro was introduced.

Bug: #19368
Reported-by: Evan Si <evsi@amazon.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/19368-016d79a7f3a1c599@postgresql.org
Backpatch-through: 18
2025-12-31 11:18:14 -08:00
..
backend Fix macro name for io_uring_queue_init_mem check. 2025-12-31 11:18:14 -08:00
bin Split some long Makefile lists 2025-12-28 09:17:42 +09:00
common Use palloc_object() and palloc_array() in more areas of the tree 2025-12-09 14:53:17 +09:00
fe_utils Add ParallelSlotSetIdle(). 2025-12-09 13:34:22 -06:00
include Change IndexAmRoutines to be statically-allocated structs. 2025-12-30 18:26:23 -05:00
interfaces Split some long Makefile lists 2025-12-28 09:17:42 +09:00
makefiles Fix meson warning due to missing declaration of NM 2025-12-10 08:10:28 +09:00
pl Split some long Makefile lists 2025-12-28 09:17:42 +09:00
port Fix another case of indirectly casting away const. 2025-12-23 21:38:43 -05:00
template Remove traces of support for Sun Studio compiler 2025-09-12 07:39:05 +02:00
test Change IndexAmRoutines to be statically-allocated structs. 2025-12-30 18:26:23 -05:00
timezone Use palloc_object() and palloc_array() in more areas of the tree 2025-12-09 14:53:17 +09:00
tools Remove MsgType type 2025-12-27 23:46:28 +01:00
tutorial Use palloc_object() and palloc_array() in more areas of the tree 2025-12-09 14:53:17 +09:00
.gitignore
DEVELOPERS
Makefile
Makefile.global.in libpq: Refactor logic checking for exit() in shared library builds 2025-12-09 10:39:08 +09:00
Makefile.shlib Use exported symbols list on macOS for loadable modules as well 2025-06-10 07:04:43 +02:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00
nls-global.mk Fix update-po for the PGXS case 2025-10-16 20:21:05 +02:00