mirror of
https://github.com/postgres/postgres.git
synced 2025-08-21 10:42:50 +03:00
action_at_recovery_target recovery config option
action_at_recovery_target = pause | promote | shutdown Petr Jelinek Reviewed by Muhammad Asif Naeem, Fujji Masao and Simon Riggs
This commit is contained in:
@@ -214,6 +214,16 @@ typedef struct XLogRecData
|
||||
uint32 len; /* length of rmgr data to include */
|
||||
} XLogRecData;
|
||||
|
||||
/*
|
||||
* Recovery target action.
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
RECOVERY_TARGET_ACTION_PAUSE,
|
||||
RECOVERY_TARGET_ACTION_PROMOTE,
|
||||
RECOVERY_TARGET_ACTION_SHUTDOWN,
|
||||
} RecoveryTargetAction;
|
||||
|
||||
/*
|
||||
* Method table for resource managers.
|
||||
*
|
||||
|
Reference in New Issue
Block a user