pgsql: Make enum for sync methods available to frontend code.

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема pgsql: Make enum for sync methods available to frontend code.
Дата
Msg-id E1qe1wG-002jjo-EF@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: doc: mention that to_char() values are rounded
Следующее
От: Thomas Munro
Дата:
Сообщение: pgsql: Disable 031_recovery_conflict.pl in 15 and 16.