Обсуждение: pgsql: Fix defects in PrepareForIncrementalBackup.

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

pgsql: Fix defects in PrepareForIncrementalBackup.

От
Robert Haas
Дата:
Fix defects in PrepareForIncrementalBackup.

Swap the arguments to TimestampDifferenceMilliseconds so that we get
a positive answer instead of zero.

Then use the result of that computation instead of ignoring it.

Per reports from Alexander Lakhin.

Discussion: http://postgr.es/m/8b686764-7ac1-74c3-70f9-b64685a2535f@gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/backup/basebackup_incremental.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)