From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make enum for sync methods available to frontend code.
Date: Wed, 06 Sep 2023 23:28:00 +0000
Message-ID: <E1qe1wG-002jjo-EF@gemulon.postgresql.org> (raw)
Make enum for sync methods available to frontend code.
This commit renames RecoveryInitSyncMethod to DataDirSyncMethod and
moves it to common/file_utils.h. This is preparatory work for a
follow-up commit that will allow specifying the synchronization
method in frontend utilities such as pg_upgrade and pg_basebackup.
Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/ZN2ZB4afQ2JbR9TA%40paquier.xyz
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/3ed19567198ddb34ab32be6ebdf132148287abdf
Modified Files
--------------
src/backend/storage/file/fd.c | 4 ++--
src/backend/utils/misc/guc_tables.c | 7 ++++---
src/include/common/file_utils.h | 6 ++++++
src/include/storage/fd.h | 6 ------
src/tools/pgindent/typedefs.list | 1 +
5 files changed, 13 insertions(+), 11 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Make enum for sync methods available to frontend code.
In-Reply-To: <E1qe1wG-002jjo-EF@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox