Restore basebackup_progress_done() to preserve ABI

Commit e7564ee8cdc, which fixed base backup progress reporting on
backup failure, removed the external function basebackup_progress_done()
because it was no longer used in core. When that change was backpatched
to v15, it introduced an ABI break, which was reported by buildfarm
member crake.

This commit restores basebackup_progress_done() to preserve ABI
compatibility, even though it is no longer used in core, rather than
updating the .abi-compliance-history file. Because external backup
tools may still call this function.

Per buildfarm member crake.

Reported-by: Andrew Dunstan <[email protected]>
Discussion: 
https://postgr.es/m/CAD5tBcJ+ktrEp=PT8Gq-f=8ma2cdtzmb-hdmv4mmj+9v46q...@mail.gmail.com
Backpatch-through: 15-18

Branch
------
REL_15_STABLE

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

Modified Files
--------------
src/backend/backup/basebackup_progress.c | 12 ++++++++++++
src/include/backup/basebackup_sink.h     |  1 +
2 files changed, 13 insertions(+)

Reply via email to