postgresql/src/backend/replication/logical
Andres Freund 5af4456a56 Fix thinko introduced in 2bef06d516 et al.
The callers for GetOldestSafeDecodingTransactionId() all inverted the
argument for the argument introduced in 2bef06d516. Luckily this
appears to be inconsequential for the moment, as we wait for
concurrent in-progress transaction when assembling a
snapshot. Additionally this could only make a difference when adding a
second logical slot, because only a pre-existing slot could cause an
issue by lowering the returned xid dangerously much.

Reported-By: Antonin Houska
Discussion: https://postgr.es/m/32704.1496993134@localhost
Backport: 9.4-, where 2bef06d516 was backpatched to.
2017-08-06 14:20:55 -07:00
..
decode.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
launcher.c Only kill sync workers at commit time in subscription DDL 2017-08-04 21:17:47 -04:00
logical.c Fix thinko introduced in 2bef06d516 et al. 2017-08-06 14:20:55 -07:00
logicalfuncs.c Fix race conditions in replication slot operations 2017-07-25 13:26:49 -04:00
Makefile Logical replication support for initial data copy 2017-03-23 08:55:37 -04:00
message.c Spelling fixes in code comments 2017-04-26 12:07:11 -04:00
origin.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
proto.c Update copyright in recently added files 2017-07-26 18:17:18 -04:00
relation.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
reorderbuffer.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
snapbuild.c Fix thinko introduced in 2bef06d516 et al. 2017-08-06 14:20:55 -07:00
tablesync.c Get a snapshot before COPY in table sync 2017-08-02 11:34:42 -04:00
worker.c Reduce delay for last logicalrep feedback message when master goes idle. 2017-07-01 12:15:51 -04:00