pg_replication_origin_progress ( node_name text, flush boolean ) → pg_lsnReturns the replay location for the given replication origin. The parameter flush determines whether the corresponding local transaction will be guaranteed to have been flushed to disk or not.