Re: Fsync (flush) all inserted WAL records

Поиск
Список
Период
Сортировка
От Aleksander Alekseev
Тема Re: Fsync (flush) all inserted WAL records
Дата
Msg-id CAJ7c6TPYZxd9vdziLfFVfO23rbsgRSAQPwyAy9eVUtaNGL8RLg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Fsync (flush) all inserted WAL records  (Aleksander Alekseev <aleksander@timescale.com>)
Ответы Re: Fsync (flush) all inserted WAL records
Список pgsql-hackers
Hi,

> > Could you please advice which way to go?
>
> Does pg_current_wal_flush_lsn() [1] return what you need?
>
> [1]: https://www.postgresql.org/docs/current/functions-admin.html#FUNCTIONS-RECOVERY-CONTROL

If not, take a look at its implementation and functions around,
GetInsertRecPtr() and others. I believe you will find all you need for
the task.

-- 
Best regards,
Aleksander Alekseev



В списке pgsql-hackers по дате отправления: