pgsql: Fix pg_rewind to handle relation data files in tablespacesprope

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема pgsql: Fix pg_rewind to handle relation data files in tablespacesprope
Дата
Msg-id E1estg5-0003oU-TO@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix pg_rewind to handle relation data files in tablespaces properly.

pg_rewind checks whether each file is a relation data file, from its path.
Previously this check logic had the bug which made pg_rewind fail to
recognize any relation data files in tablespaces. Which also caused
an assertion failure in pg_rewind.

Back-patch to 9.5 where pg_rewind was added.

Author: Takayuki Tsunakawa
Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/0A3221C70F24FB45833433255569204D1F8D6C7A@G01JPEXMBYT05

Branch
------
REL9_5_STABLE

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

Modified Files
--------------
src/bin/pg_rewind/filemap.c | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)


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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: pgsql: Fix pg_rewind to handle relation data files in tablespacesprope
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: shm_mq: Fix detach race condition.