pgsql: Remove state.tmp when failing to save a replication slot

2025-10-18 Thread Michael Paquier
Remove state.tmp when failing to save a replication slot An error happening while a slot data is saved on disk in SaveSlotToPath() could cause a state.tmp file (temporary file holding the slot state data, renamed to its permanent name at the end of the function) to remain around after it has been

pgsql: Remove state.tmp when failing to save a replication slot

2025-10-18 Thread Michael Paquier
Remove state.tmp when failing to save a replication slot An error happening while a slot data is saved on disk in SaveSlotToPath() could cause a state.tmp file (temporary file holding the slot state data, renamed to its permanent name at the end of the function) to remain around after it has been

pgsql: Remove state.tmp when failing to save a replication slot

2025-10-18 Thread Michael Paquier
Remove state.tmp when failing to save a replication slot An error happening while a slot data is saved on disk in SaveSlotToPath() could cause a state.tmp file (temporary file holding the slot state data, renamed to its permanent name at the end of the function) to remain around after it has been

pgsql: Remove state.tmp when failing to save a replication slot

2025-10-18 Thread Michael Paquier
Remove state.tmp when failing to save a replication slot An error happening while a slot data is saved on disk in SaveSlotToPath() could cause a state.tmp file (temporary file holding the slot state data, renamed to its permanent name at the end of the function) to remain around after it has been

pgsql: Remove state.tmp when failing to save a replication slot

2025-10-18 Thread Michael Paquier
Remove state.tmp when failing to save a replication slot An error happening while a slot data is saved on disk in SaveSlotToPath() could cause a state.tmp file (temporary file holding the slot state data, renamed to its permanent name at the end of the function) to remain around after it has been

pgsql: Remove state.tmp when failing to save a replication slot

2025-10-17 Thread Michael Paquier
Remove state.tmp when failing to save a replication slot An error happening while a slot data is saved on disk in SaveSlotToPath() could cause a state.tmp file (temporary file holding the slot state data, renamed to its permanent name at the end of the function) to remain around after it has been

pgsql: Remove state.tmp when failing to save a replication slot

2025-10-13 Thread Michael Paquier
Remove state.tmp when failing to save a replication slot An error happening while a slot data is saved on disk in SaveSlotToPath() could cause a state.tmp file (temporary file holding the slot state data, renamed to its permanent name at the end of the function) to remain around after it has been