postgresql/src/include/replication
Thomas Munro d140f2f3e2 Rationalize GetWalRcv{Write,Flush}RecPtr().
GetWalRcvWriteRecPtr() previously reported the latest *flushed*
location.  Adopt the conventional terminology used elsewhere in the tree
by renaming it to GetWalRcvFlushRecPtr(), and likewise for some related
variables that used the term "received".

Add a new definition of GetWalRcvWriteRecPtr(), which returns the latest
*written* value.  This will allow later patches to use the value for
non-data-integrity purposes, without having to wait for the flush
pointer to advance.

Reviewed-by: Alvaro Herrera <alvherre@2ndquadrant.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CA%2BhUKGJ4VJN8ttxScUFM8dOKX0BrBiboo5uz1cq%3DAovOddfHpA%40mail.gmail.com
2020-04-08 23:45:09 +12:00
..
basebackup.h Generate backup manifests for base backups, and validate them. 2020-04-03 15:05:59 -04:00
decode.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
logical.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
logicallauncher.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
logicalproto.h Prepare to support non-tables in publications 2020-03-19 08:25:07 +01:00
logicalrelation.h Add logical replication support to replicate into partitioned tables 2020-04-06 15:15:52 +02:00
logicalworker.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
message.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
origin.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
output_plugin.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pgoutput.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
reorderbuffer.h Set ReorderBufferTXN->final_lsn more eagerly 2020-01-17 18:00:39 -03:00
slot.h Allow users to limit storage reserved by replication slots 2020-04-07 18:35:00 -04:00
snapbuild.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
syncrep.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
walreceiver.h Rationalize GetWalRcv{Write,Flush}RecPtr(). 2020-04-08 23:45:09 +12:00
walsender.h Generate backup manifests for base backups, and validate them. 2020-04-03 15:05:59 -04:00
walsender_private.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
worker_internal.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00