⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clog.h

📁 PostgreSQL 8.1.4的源码 适用于Linux下的开源数据库系统
💻 H
字号:
/* * clog.h * * PostgreSQL transaction-commit-log manager * * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * $PostgreSQL: pgsql/src/include/access/clog.h,v 1.14 2005/08/20 23:26:29 tgl Exp $ */#ifndef CLOG_H#define CLOG_H#include "access/xlog.h"/* * Possible transaction statuses --- note that all-zeroes is the initial * state. * * A "subcommitted" transaction is a committed subtransaction whose parent * hasn't committed or aborted yet. */typedef int XidStatus;#define TRANSACTION_STATUS_IN_PROGRESS		0x00#define TRANSACTION_STATUS_COMMITTED		0x01#define TRANSACTION_STATUS_ABORTED			0x02#define TRANSACTION_STATUS_SUB_COMMITTED	0x03extern void TransactionIdSetStatus(TransactionId xid, XidStatus status);extern XidStatus TransactionIdGetStatus(TransactionId xid);extern Size CLOGShmemSize(void);extern void CLOGShmemInit(void);extern void BootStrapCLOG(void);extern void StartupCLOG(void);extern void ShutdownCLOG(void);extern void CheckPointCLOG(void);extern void ExtendCLOG(TransactionId newestXact);extern void TruncateCLOG(TransactionId oldestXact);/* XLOG stuff */#define CLOG_ZEROPAGE		0x00extern void clog_redo(XLogRecPtr lsn, XLogRecord *record);extern void clog_desc(char *buf, uint8 xl_info, char *rec);#endif   /* CLOG_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -