mirror of
https://github.com/postgres/postgres.git
synced 2025-08-24 09:27:52 +03:00
Remove rm_safe_restartpoint machinery.
It is no longer used, none of the resource managers have multi-record actions that would make it unsafe to perform a restartpoint. Also don't allow rm_cleanup to write WAL records, it's also no longer required. Move the call to rm_cleanup routines to make it more symmetric with rm_startup.
This commit is contained in:
@@ -19,7 +19,7 @@ typedef uint8 RmgrId;
|
||||
* Note: RM_MAX_ID must fit in RmgrId; widening that type will affect the XLOG
|
||||
* file format.
|
||||
*/
|
||||
#define PG_RMGR(symname,name,redo,desc,startup,cleanup,restartpoint) \
|
||||
#define PG_RMGR(symname,name,redo,desc,startup,cleanup) \
|
||||
symname,
|
||||
|
||||
typedef enum RmgrIds
|
||||
|
Reference in New Issue
Block a user