Minor improvements for waitlsn.c
Alexander Korotkov <akorotkov@postgresql.org>
Minor improvements for waitlsn.c * Remove extra includes * Fill 'cur' in addLSNWaiter() before taking the spinlock * Initialize 'endtime' with zero in WaitForLSN() to avoid compiler warning Reported-by: Alvaro Herrera, Masahiko Sawada, Daniel Gustafsson Discussion: https://postgr.es/m/202404030658.hhj3vfxeyhft%40alvherre.pgsql Discussion: https://postgr.es/m/CAD21AoAx7irptnPH1OkkkNh9E0M6X-phfX7sYZfwoMsc1qV1sQ%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/waitlsn.c | modified | +4 −14 |
Discussion
- Re: [HACKERS] make async slave to wait for lsn to be replayed 113 messages · 2023-02-28 → 2024-09-17
Cited messages not in the archive:
CAD21AoAx7irptnPH1OkkkNh9E0M6X-phfX7sYZfwoMsc1qV1sQ@mail.gmail.com