greenplumn cdbpublic 源码
greenplumn cdbpublic 代码
文件路径:/src/include/cdb/cdbpublic.h
/*-------------------------------------------------------------------------
*
* cdbpublic.h
*
* Greenplum specific structures and typedefs exposed to the
* outside world.
*
* This is a non-ideal solution, consider alternatives before
* adding to this file.
*
* Portions Copyright (c) 2008-2008, Greenplum inc.
* Portions Copyright (c) 2012-Present VMware, Inc. or its affiliates.
*
*
* IDENTIFICATION
* src/include/cdb/cdbpublic.h
*
*-------------------------------------------------------------------------
*/
/* This file should not include any other files under "cdb" */
#ifndef CDBPUBLIC_H
#define CDBPUBLIC_H
#include "c.h" /* DistributedTransactionId */
typedef struct TMGXACT_CHECKPOINT
{
int committedCount;
/* Array [0..committedCount-1] of DistributedTransactionId begins here */
DistributedTransactionId committedGxidArray[1];
} TMGXACT_CHECKPOINT;
#define TMGXACT_CHECKPOINT_BYTES(committedCount) \
(offsetof(TMGXACT_CHECKPOINT, committedGxidArray) + sizeof(DistributedTransactionId) * (committedCount))
#endif
相关信息
相关文章
greenplumn cdbappendonlyblockdirectory 源码
greenplumn cdbappendonlystorage 源码
greenplumn cdbappendonlystorage_int 源码
greenplumn cdbappendonlystorageformat 源码
greenplumn cdbappendonlystoragelayer 源码
greenplumn cdbappendonlystorageread 源码
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦