postgresql/src
Melanie Plageman 754c610e13 Fix bitmap table scan crash on iterator release
1a0da347a7 replaced Bitmap Table Scan's individual private and
shared iterators with a unified iterator. It neglected, however, to
check if the iterator had already been cleaned up before doing so on
rescan. Add this check both on rescan and end scan to be safe.

Reported-by: Richard Guo
Author: Richard Guo
Discussion: https://postgr.es/m/CAMbWs48nrhcLY1kcd-u9oD%2B6yiS631F_8Fx8ZGsO-BYDwH%2Bbyw%40mail.gmail.com
2024-12-19 11:55:03 -05:00
..
backend Fix bitmap table scan crash on iterator release 2024-12-19 11:55:03 -05:00
bin psql: Add more information about service name 2024-12-18 15:16:12 +09:00
common Fix outdated comment of scram_build_secret() 2024-12-10 12:54:09 +09:00
fe_utils Remove unused #include's from bin .c files 2024-11-06 11:11:52 +01:00
include bootstrap: pure parser and reentrant scanner 2024-12-19 15:37:44 +01:00
interfaces libpq: Add service name to PGconn and PQservice() 2024-12-18 14:53:42 +09:00
makefiles Use __attribute__((target(...))) for AVX-512 support. 2024-11-07 13:58:43 -06:00
pl Remove useless casts to (void *) 2024-11-28 08:27:20 +01:00
port Fix elog(FATAL) before PostmasterMain() or just after fork(). 2024-12-10 13:51:59 -08:00
template thread-safety: gmtime_r(), localtime_r() 2024-08-23 07:43:04 +02:00
test Fix bitmap table scan crash on iterator release 2024-12-19 11:55:03 -05:00
timezone Update time zone data files to tzdata release 2024b. 2024-10-29 11:49:38 -04:00
tools Add backend-level statistics to pgstats 2024-12-19 13:19:22 +09:00
tutorial Update copyright for 2024 2024-01-03 20:49:05 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Use <stdint.h> and <inttypes.h> for c.h integers. 2024-12-04 15:05:38 +13:00
Makefile.shlib Remove AIX support 2024-02-28 15:17:23 +04:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00