greenplumn cdbdisp_dtx 源码
greenplumn cdbdisp_dtx 代码
文件路径:/src/include/cdb/cdbdisp_dtx.h
/*-------------------------------------------------------------------------
*
* cdbdisp_dtx.h
* routines for dispatching DTX commands to the qExec processes.
*
* Portions Copyright (c) 2005-2008, Greenplum inc
* Portions Copyright (c) 2012-Present VMware, Inc. or its affiliates.
*
*
* IDENTIFICATION
* src/include/cdb/cdbdisp_dtx.h
*
*-------------------------------------------------------------------------
*/
#ifndef CDBDISP_DTX_H
#define CDBDISP_DTX_H
#include "cdb/cdbtm.h"
struct pg_result; /* #include "libpq-fe.h" */
struct CdbPgResults;
/*
* CdbDispatchDtxProtocolCommand:
* Sends a non-cancelable command to all segment dbs, primary
*
* Returns a malloc'ed array containing the PGresult objects thus
* produced; the caller must PQclear() them and free() the array.
* A NULL entry follows the last used entry in the array.
*
* Any error message - whether or not it is associated with an
* PGresult object - is returned in *qeError.
*/
struct pg_result **
CdbDispatchDtxProtocolCommand(DtxProtocolCommand dtxProtocolCommand,
char *dtxProtocolCommandLoggingStr,
char *gid,
ErrorData **qeError,
int *resultCount,
List *dtxSegments,
char *serializedDtxContextInfo,
int serializedDtxContextInfoLen);
/*
* used to take the current Transaction Snapshot and serialized a version of it
* into the static variable serializedDtxContextInfo
*/
char *
qdSerializeDtxContextInfo(int * size, bool wantSnapshot, bool inCursor, int txnOptions, char *debugCaller);
#endif /* CDBDISP_DTX_H */
相关信息
相关文章
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框自动聚焦