On Tue, Mar 26, 2024 at 4:06 PM Kartyshov Ivan <i.kartys...@postgrespro.ru> wrote: > Thank you for your interest to the patch. > I understand you questions, but I fully support Alexander Korotkov idea > to commit the minimal required functionality. And then keep working on > other improvements.
I did further improvements in the patch. Notably, I decided to rename the procedure to pg_wait_for_wal_replay_lsn(). This makes the name look consistent with other WAL-related functions. Also it clearly states that we're waiting for lsn to be replayed (not received, written or flushed). Also, I did implements in the docs, commit message and some minor code fixes. I'm continuing to look at this patch. ------ Regards, Alexander Korotkov