pgsql: Improve database detection logic in datachecksumsworker - Mailing list pgsql-committers

From Daniel Gustafsson
Subject pgsql: Improve database detection logic in datachecksumsworker
Date
Msg-id E1wIPqk-003SOi-14@gemulon.postgresql.org
Whole thread
List pgsql-committers
Improve database detection logic in datachecksumsworker

The worker need to know whether a database which failed checksum
processing still exists, or has been dropped.  This improves the
detection logic by checking for being partially dropped.

Author: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Tomas Vondra <tomas@vondra.me>
Reviewed-by: SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com>
Reviewed-by: Ayush Tiwari <ayushtiwari.slg01@gmail.com>
Discussion: https://postgr.es/m/9197F930-DDEB-4CAC-82A2-16FEC715CCE8@yesql.se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1df361e3d82c5eddccdb10f10dbaf611f752e1b9

Modified Files
--------------
src/backend/postmaster/datachecksum_state.c | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Fix double table_close of sequence_rel in copy_sequences().
Next
From: Daniel Gustafsson
Date:
Subject: pgsql: Fix data_checksum GUC show_hook