pg_replication_origin_session_progress ( flush boolean ) → pg_lsnReturns the replay location for the replication origin selected in the current session. The parameter flush determines whether the corresponding local transaction will be guaranteed to have been flushed to disk or not.