twophase_rmgr.c
来自「PostgreSQL 8.1.4的源码 适用于Linux下的开源数据库系统」· C语言 代码 · 共 50 行
C
50 行
/*------------------------------------------------------------------------- * * twophase_rmgr.c * Two-phase-commit resource managers tables * * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION * $PostgreSQL: pgsql/src/backend/access/transam/twophase_rmgr.c,v 1.2 2005/10/15 02:49:09 momjian Exp $ * *------------------------------------------------------------------------- */#include "postgres.h"#include "access/twophase_rmgr.h"#include "commands/async.h"#include "storage/lock.h"#include "utils/flatfiles.h"#include "utils/inval.h"const TwoPhaseCallback twophase_recover_callbacks[TWOPHASE_RM_MAX_ID + 1] ={ NULL, /* END ID */ lock_twophase_recover, /* Lock */ NULL, /* Inval */ NULL, /* flat file update */ NULL /* notify/listen */};const TwoPhaseCallback twophase_postcommit_callbacks[TWOPHASE_RM_MAX_ID + 1] ={ NULL, /* END ID */ lock_twophase_postcommit, /* Lock */ inval_twophase_postcommit, /* Inval */ flatfile_twophase_postcommit, /* flat file update */ notify_twophase_postcommit /* notify/listen */};const TwoPhaseCallback twophase_postabort_callbacks[TWOPHASE_RM_MAX_ID + 1] ={ NULL, /* END ID */ lock_twophase_postabort, /* Lock */ NULL, /* Inval */ NULL, /* flat file update */ NULL /* notify/listen */};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?