Add confirmed_flush column to pg_replication_slots.

Andres Freund <andres@anarazel.de>

Commit: 3f811c2d6f51b13b71adff99e82894dd48cee055
Author: Andres Freund <andres@anarazel.de>
Date: 2015-08-10T11:28:18Z
Releases: 9.6.0
Add confirmed_flush column to pg_replication_slots.

There's no reason not to expose both restart_lsn and confirmed_flush
since they have rather distinct meanings. The former is the oldest WAL
still required and valid for both physical and logical slots, whereas
the latter is the location up to which a logical slot's consumer has
confirmed receiving data. Most of the time a slot will require older
WAL (i.e. restart_lsn) than the confirmed
position (i.e. confirmed_flush_lsn).

Author: Marko Tiikkaja, editorialized by me
Discussion: 559D110B.1020109@joh.to

Files

Documentation touched