On Thu, Mar 28, 2024 at 2:24 AM Alexander Korotkov <aekorot...@gmail.com> wrote: > 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.
Sorry, I forgot the attachment. ------ Regards, Alexander Korotkov
v12-0001-Implement-pg_wait_for_wal_replay_lsn-stored-proc.patch
Description: Binary data