]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Improve database detection logic in datachecksumsworker
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Thu, 30 Apr 2026 11:41:55 +0000 (13:41 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Thu, 30 Apr 2026 11:41:55 +0000 (13:41 +0200)
commit1df361e3d82c5eddccdb10f10dbaf611f752e1b9
tree0b46f21fb1f3dd581461d3c29d4341ee86c0eb95
parentbf25e5571b325875e0e48bac2e59a820918f2d6a
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
src/backend/postmaster/datachecksum_state.c