pgsql: Fix LOCK_TIMEOUT handling in slotsync worker.

2025-12-08 Thread Amit Kapila
Fix LOCK_TIMEOUT handling in slotsync worker. Previously, the slotsync worker relied on SIGINT for graceful shutdown during promotion. However, SIGINT is also used by the LOCK_TIMEOUT handler to cancel queries. Since the slotsync worker can lock catalog tables while parsing libpq tuples, this over

pgsql: Fix LOCK_TIMEOUT handling in slotsync worker.

2025-12-08 Thread Amit Kapila
Fix LOCK_TIMEOUT handling in slotsync worker. Previously, the slotsync worker relied on SIGINT for graceful shutdown during promotion. However, SIGINT is also used by the LOCK_TIMEOUT handler to cancel queries. Since the slotsync worker can lock catalog tables while parsing libpq tuples, this over

pgsql: Fix LOCK_TIMEOUT handling in slotsync worker.

2025-12-08 Thread Amit Kapila
Fix LOCK_TIMEOUT handling in slotsync worker. Previously, the slotsync worker relied on SIGINT for graceful shutdown during promotion. However, SIGINT is also used by the LOCK_TIMEOUT handler to cancel queries. Since the slotsync worker can lock catalog tables while parsing libpq tuples, this over