postgresql/src/backend
Daniel Gustafsson 8fb8ded889 Handle data_checksum state changes during launcher_exit
When erroring out from the datachecksums launcher during data checksum
enabling, before state has transitioned to "on", we revert back to the
"off" state.  Since checksums weren't enabled, there is no use staying
in an inprogress state since the checksum launcher currently doesn't
support restarting from where it left off.  Should restartability get
added in the future, this would need to be revisited.  This state
transition was however missing from the allowed transitions in the
statemachine causing an error.

Author: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Tomas Vondra <tomas@vondra.me>
Reviewed-by: Ayush Tiwari <ayushtiwari.slg01@gmail.com>
Reviewed-by: SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com>
Discussion: https://postgr.es/m/9197F930-DDEB-4CAC-82A2-16FEC715CCE8@yesql.se
2026-04-30 13:41:46 +02:00
..
access Handle data_checksum state changes during launcher_exit 2026-04-30 13:41:46 +02:00
archive Don't include wait_event.h in pgstat.h 2026-03-06 16:24:58 +01:00
backup Online enabling and disabling of data checksums 2026-04-03 22:58:51 +02:00
bootstrap Rework signal handler infrastructure to pass sender info as argument. 2026-04-15 07:30:34 -04:00
catalog Don't call CheckAttributeType() with InvalidOid on dropped cols 2026-04-23 21:28:26 +03:00
commands Fix wrong datum conversion for subretentionactive in CreateSubscription. 2026-04-28 13:13:47 +05:30
executor Fix incorrect logic for hashed IN / NOT IN with non-strict operators 2026-04-24 14:03:12 +12:00
foreign Remove bits* typedefs. 2026-03-30 16:12:08 -05:00
jit jit: No backport::SectionMemoryManager for LLVM 22. 2026-04-03 14:55:11 +13:00
lib Fix a set of typos and grammar issues across the tree 2026-04-21 14:46:22 +09:00
libpq Fix a set of typos and grammar issues across the tree 2026-04-21 14:46:22 +09:00
main Update copyright for 2026 2026-01-01 13:24:10 -05:00
nodes Fix DELETE/UPDATE FOR PORTION OF with rules 2026-04-27 10:34:06 +02:00
optimizer Fix bogus calls in remove_self_join_rel() 2026-04-27 10:40:37 +09:00
parser Fix collation of expressions in GRAPH_TABLE COLUMNS clause 2026-04-24 08:43:26 +02:00
partitioning Add missing Datum conversions 2026-04-20 07:22:16 +02:00
po Update copyright for 2026 2026-01-01 13:24:10 -05:00
port Rework signal handler infrastructure to pass sender info as argument. 2026-04-15 07:30:34 -04:00
postmaster Handle data_checksum state changes during launcher_exit 2026-04-30 13:41:46 +02:00
regex Use fallthrough attribute instead of comment 2026-02-19 08:51:12 +01:00
replication Fix double table_close of sequence_rel in copy_sequences(). 2026-04-30 16:39:39 +05:30
rewrite Fix typos and grammar in graph table rewrite code 2026-04-24 08:27:04 +02:00
snowball Fix meson build of snowball code. 2026-01-05 16:51:36 -05:00
statistics Fix a set of typos and grammar issues across the tree 2026-04-21 14:46:22 +09:00
storage Fix errno check based on EINTR in pg_flush_data() 2026-04-30 18:44:38 +09:00
tcop Rework signal handler infrastructure to pass sender info as argument. 2026-04-15 07:30:34 -04:00
tsearch Prevent some buffer overruns in spell.c's parsing of affix files. 2026-04-22 12:02:15 -04:00
utils Adjust some incorrect *GetDatum() macros 2026-04-30 13:10:19 +09:00
.gitignore
common.mk
Makefile ssl: Serverside SNI support for libpq 2026-03-18 12:37:11 +01:00
meson.build Add CONCURRENTLY option to REPACK 2026-04-06 21:55:08 +02:00
nls.mk Create a separate file listing backend types 2025-09-26 15:21:49 +02:00