pgsql: Add assert and log message to visibilitymap_set

Поиск
Список
Период
Сортировка
От Melanie Plageman
Тема pgsql: Add assert and log message to visibilitymap_set
Дата
Msg-id E1uuWlJ-000dHY-1m@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add assert and log message to visibilitymap_set

Add an assert to visibilitymap_set() that the provided heap buffer is
exclusively locked, which is expected.

Also, enhance the debug logging message to specify which VM flags were
set.

Based on a related suggestion by Kirill Reshke on an in-progress
patchset.

Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Kirill Reshke <reshkekirill@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CALdSSPhAU56g1gGVT0%2BwG8RrSWE6qW8TOfNJS1HNAWX6wPgbFA%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e3d5ddb7ca91e5982e9d4cff9eef210d97e4f47e

Modified Files
--------------
src/backend/access/heap/visibilitymap.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)


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