From: | Nathan Bossart <nathan(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Make enum for sync methods available to frontend code. |
Date: | 2023-09-06 23:28:00 |
Message-ID: | E1qe1wG-002jjo-EF@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2023-09-06 23:50:27 | pgsql: Disable 031_recovery_conflict.pl in 15 and 16. |
Previous Message | Bruce Momjian | 2023-09-06 20:52:52 | pgsql: doc: mention that to_char() values are rounded |