pgsql: Remove dependency to StringInfo in xlogbackup.{c.h}

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove dependency to StringInfo in xlogbackup.{c.h}
Date: 2022-09-27 00:15:43
Message-ID: E1ocyGF-002AQb-1d@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove dependency to StringInfo in xlogbackup.{c.h}

This was used as the returned result type of the generated contents for
the backup_label and backup history files. This is replaced by a simple
string, reducing the cleanup burden of all the callers of
build_backup_content().

Reviewed-by: Bharath Rupireddy
Discussion: https://postgr.es/m/YzERvNPaZivHEKZJ@paquier.xyz

Branch
------
master

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

Modified Files
--------------
src/backend/access/transam/xlog.c | 5 ++---
src/backend/access/transam/xlogbackup.c | 10 +++++++---
src/backend/access/transam/xlogfuncs.c | 5 ++---
src/backend/backup/basebackup.c | 5 ++---
src/include/access/xlogbackup.h | 5 ++---
5 files changed, 15 insertions(+), 15 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-09-27 00:31:18 pgsql: Mark ParallelMessagePending as sig_atomic_t
Previous Message David Rowley 2022-09-26 21:58:26 pgsql: Doc: last minute adjustment to the release notes