Thread: pgsql: Remove dead code in do_pg_backup_start().

pgsql: Remove dead code in do_pg_backup_start().

From
Tom Lane
Date:
Remove dead code in do_pg_backup_start().

As of commit 39969e2a1, no caller of do_pg_backup_start() passes NULL
for labelfile or tblspcmapfile, nor is it plausible that any would
do so in the future.  Remove the code that coped with that case,
as (a) it's dead and (b) it causes Coverity to bleat about possibly
leaked storage.

While here, do some janitorial work on the function's header comment.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9de692c10176e2af00dc915b122e07bd6903185c

Modified Files
--------------
src/backend/access/transam/xlog.c | 30 +++++++++++++-----------------
1 file changed, 13 insertions(+), 17 deletions(-)