pgsql: Fix cross-version compatibility checks of pg_verify_checksums

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Fix cross-version compatibility checks of pg_verify_checksums
Дата
Msg-id E1h3sA4-0007KB-Vk@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix cross-version compatibility checks of pg_verify_checksums

pg_verify_checksums performs a read of the control file, and the data it
fetches should be from a data folder compatible with the major version
of Postgres the binary has been compiled with, but we never actually
checked that compatibility.

Reported-by: Sergei Kornilov
Author: Michael Paquier
Reviewed-by: Sergei Kornilov
Discussion: https://postgr.es/m/155231347133.16480.11453587097036807558.pgcf@coridan.postgresql.org
Backpatch-through: 11

Branch
------
master

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

Modified Files
--------------
src/bin/pg_verify_checksums/pg_verify_checksums.c | 7 +++++++
1 file changed, 7 insertions(+)


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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: pgsql: Correct obsolete nbtree page split comment.
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Rename pg_verify_checksums to pg_checksums