greenplumn cdbdistributedxid 源码
greenplumn cdbdistributedxid 代码
文件路径:/src/backend/cdb/cdbdistributedxid.c
/*-------------------------------------------------------------------------
*
* cdbdistributedxid.c
* Function to return maximum distributed transaction id.
*
* IDENTIFICATION
*
*-------------------------------------------------------------------------
*/
#include "postgres.h"
#include "funcapi.h"
#include "utils/builtins.h"
#include "cdb/cdbtm.h"
Datum gp_distributed_xid(PG_FUNCTION_ARGS);
PG_FUNCTION_INFO_V1(gp_distributed_xid);
Datum
gp_distributed_xid(PG_FUNCTION_ARGS pg_attribute_unused())
{
DistributedTransactionId xid = getDistributedTransactionId();
PG_RETURN_XID(xid);
}
相关信息
相关文章
greenplumn cdbappendonlystorageformat 源码
greenplumn cdbappendonlystorageread 源码
greenplumn cdbappendonlystoragewrite 源码
greenplumn cdbappendonlyxlog 源码
greenplumn cdbbufferedappend 源码
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦