Обсуждение: [COMMITTERS] pgsql: Fix thinko introduced in 2bef06d516460 et al.

Поиск
Список
Период
Сортировка

[COMMITTERS] pgsql: Fix thinko introduced in 2bef06d516460 et al.

От
Andres Freund
Дата:
Fix thinko introduced in 2bef06d516460 et al.

The callers for GetOldestSafeDecodingTransactionId() all inverted the
argument for the argument introduced in 2bef06d516460. 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 2bef06d516460 was backpatched to.

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d68742562ca48decbad57adf0014aaed788ce372

Modified Files
--------------
src/backend/replication/logical/logical.c   | 2 +-
src/backend/replication/logical/snapbuild.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)