On Tue, Jan 12, 2021 at 9:15 AM Jammie <shailesh(dot)jamloki(at)gmail(dot)com> wrote:
>
> Hi Amit,
> Thanks for the response .
> Can you please let me know what pg_current_wal_lsn returns ?
>
> is this position the LSN of the next log record to be created, or is it the LSN of the last log record already created and inserted in the log?
>
This is the position up to which we have already written the WAL to
the kernel but not yet flushed to disk.
--
With Regards,
Amit Kapila.