Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cloudberry
/ functions
Functions
50,827 in github.com/apache/cloudberry
⨍
Functions
50,827
◇
Types & classes
8,281
↳
Endpoints
203
↓ 133 callers
Method
MDId
--------------------------------------------------------------------------- @function: CMDAccessor::SMDAccessorElem::MDId @doc: Return the key for th
src/backend/gporca/libgpopt/src/mdcache/CMDAccessor.cpp:106
↓ 131 callers
Method
Prpp
--------------------------------------------------------------------------- @function: CExpressionHandle::Prpp @doc: Retrieve required relational pro
src/backend/gporca/libgpopt/src/operators/CExpressionHandle.cpp:1162
↓ 130 callers
Function
hash_create
* hash_create -- create a new dynamic hash table * * tabname: a name for the table (for debugging purposes) * nelem: maximum number of elements exp
src/backend/utils/hash/dynahash.c:348
↓ 130 callers
Function
pq_getmsgint
-------------------------------- * pq_getmsgint - get a binary integer from a message buffer * * Values are treated as unsigned. * -------------
src/backend/libpq/pqformat.c:416
↓ 129 callers
Method
getSegmentDbId
(self)
gpMgmt/bin/gppylib/gparray.py:291
↓ 128 callers
Method
Get
return parsed param value
src/backend/gporca/libnaucrates/include/naucrates/dxl/parser/CParseHandlerCostParam.h:80
↓ 128 callers
Method
Length
--------------------------------------------------------------------------- @function: CDXLDatum::Length @doc: Returns the size of the byte array --
src/backend/gporca/libnaucrates/src/operators/CDXLDatum.cpp:72
↓ 128 callers
Method
exists
does the parent/child exist?
src/backend/gporca/libgpopt/include/gpopt/base/CKHeap.h:55
↓ 128 callers
Function
pg_log
src/bin/pg_upgrade/util.c:228
↓ 127 callers
Method
query
(self, command, post_run_cmd = None, global_sh_executor = None)
src/test/isolation2/sql_isolation_testcase.py:288
↓ 126 callers
Function
errdetail
contrib/interconnect/test/elog_mock.c:414
↓ 126 callers
Function
heap_modify_tuple
* heap_modify_tuple * form a new tuple from an old tuple and a set of replacement values. * * The replValues, replIsnull, and doReplace arrays mus
src/backend/access/common/heaptuple.c:1157
↓ 126 callers
Function
pq_sendint32
append a binary [u]int32 to a StringInfo buffer */
src/include/libpq/pqformat.h:144
↓ 123 callers
Function
check_stack_depth
* check_stack_depth/stack_is_too_deep: check for excessively deep recursion * * This should be called someplace in any recursive routine that might
src/backend/tcop/postgres.c:4461
↓ 123 callers
Method
get_results
(self)
gpMgmt/bin/gppylib/commands/base.py:572
↓ 122 callers
Function
exprLocation
* exprLocation - * returns the parse location of an expression tree, for error reports * * -1 is returned if the location can't be determined. *
src/backend/nodes/nodeFuncs.c:1297
↓ 121 callers
Function
CdbDispatchUtilityStatement
* CdbDispatchUtilityStatement * * Dispatch an already parsed statement to all primary writer QEs, wait until * all QEs finished successfully. If on
src/backend/cdb/dispatcher/cdbdisp_query.c:437
↓ 120 callers
Method
Pdrgpcr
--------------------------------------------------------------------------- @function: CColRefSet::Pdrgpcr @doc: Convert set into array ------------
src/backend/gporca/libgpopt/src/base/CColRefSet.cpp:279
↓ 120 callers
Method
Pmda
src/backend/gporca/libgpopt/src/minidump/CMetadataAccessorFactory.cpp:37
↓ 119 callers
Method
Arity
--------------------------------------------------------------------------- @function: CDXLLogicalTVF::Arity @doc: Return number of return columns -
src/backend/gporca/libnaucrates/src/operators/CDXLLogicalTVF.cpp:94
↓ 119 callers
Method
run
(self, validateAfter=False)
gpMgmt/bin/gppylib/commands/base.py:561
↓ 118 callers
Function
bms_overlap
* bms_overlap - do sets overlap (ie, have a nonempty intersection)? */
src/backend/nodes/bitmapset.c:490
↓ 118 callers
Function
relation_open
---------------- * relation_open - open any relation by relation OID * * If lockmode is not "NoLock", the specified kind of lock is * obtained
src/backend/access/common/relation.c:47
↓ 117 callers
Function
pgstat_progress_update_param
----------- * pgstat_progress_update_param() - * * Update index'th member in st_progress_param[] of own backend entry. *----------- */
src/backend/utils/activity/backend_progress.c:46
↓ 116 callers
Function
SetConfigOption
* Set a config option to the given value. * * See also set_config_option; this is just the wrapper to be called from * outside GUC. (This function
src/backend/utils/misc/guc.c:8439
↓ 115 callers
Function
GPOS_DELETE_ARRAY
src/backend/gporca/libgpos/include/gpos/memory/CMemoryPool.h:334
↓ 114 callers
Method
Value
--------------------------------------------------------------------------- @function: CDatumInt2GPDB::Value @doc: Accessor of integer value -------
src/backend/gporca/libnaucrates/src/base/CDatumInt2GPDB.cpp:97
↓ 114 callers
Function
bms_free
* bms_free - free a bitmapset * * Same as pfree except for allowing NULL input */
src/backend/nodes/bitmapset.c:204
↓ 113 callers
Function
ExplainPropertyInteger
* Explain an integer-valued property. */
src/backend/commands/explain.c:5580
↓ 113 callers
Function
fmgr_info
* This routine fills a FmgrInfo struct, given the OID * of the function to be called. * * The caller's CurrentMemoryContext is used as the fn_mcxt
src/backend/utils/fmgr/fmgr.c:127
↓ 113 callers
Function
get_rel_name
* get_rel_name * Returns the name of a given relation. * * Returns a palloc'd copy of the string, or NULL if no such relation. * * NOTE: since r
src/backend/utils/cache/lsyscache.c:2581
↓ 112 callers
Method
GetDXLOperator
Operator type
src/backend/gporca/libnaucrates/include/naucrates/dxl/operators/CDXLScalarSubPlan.h:81
↓ 112 callers
Function
expression_tree_walker
src/backend/nodes/nodeFuncs.c:1962
↓ 112 callers
Method
log
Level is either DEBUG, LOG, INFO, ERROR. a is the message
gpMgmt/bin/gpload.py:1287
↓ 110 callers
Method
ContainsAll
--------------------------------------------------------------------------- @function: CBitSet::FSubset @doc: Determine if given vector is subset --
src/backend/gporca/libgpos/src/common/CBitSet.cpp:498
↓ 110 callers
Method
Start
contrib/pax_storage/src/cpp/storage/pax_buffer.h:46
↓ 109 callers
Method
Pds
distribution accessor
src/backend/gporca/libgpopt/include/gpopt/base/CDrvdPropPlan.h:98
↓ 109 callers
Function
list_copy
* Return a shallow copy of the specified list. */
src/backend/nodes/list.c:1483
↓ 108 callers
Method
PcrAny
--------------------------------------------------------------------------- @function: CColRefSet::PcrAny @doc: Return random member ---------------
src/backend/gporca/libgpopt/src/base/CColRefSet.cpp:97
↓ 108 callers
Function
pq_sendbyte
append a binary byte to a StringInfo buffer */
src/include/libpq/pqformat.h:160
↓ 107 callers
Function
BlessTupleDesc
* BlessTupleDesc - make a completed tuple descriptor useful for SRFs * * Rowtype Datums returned by a function must contain valid type information.
src/backend/executor/execTuples.c:2087
↓ 107 callers
Function
DatumGetObjectId
src/include/postgres.h:539
↓ 107 callers
Function
mul_size
* Multiply two Size values, checking for overflow */
src/backend/storage/ipc/shmem.c:551
↓ 107 callers
Function
resetPQExpBuffer
* resetPQExpBuffer * Reset a PQExpBuffer to empty * * Note: if possible, a "broken" PQExpBuffer is returned to normal. */
src/interfaces/libpq/pqexpbuffer.c:154
↓ 107 callers
Function
write_log
src/backend/cdb/cdbthreadlog.c:104
↓ 106 callers
Function
CatalogTupleInsert
* CatalogTupleInsert - do heap and indexing work for a new catalog tuple * * Insert the tuple data in "tup" into the specified catalog relation. *
src/backend/catalog/indexing.c:221
↓ 106 callers
Function
CharGetDatum
src/include/postgres.h:488
↓ 106 callers
Method
MdidType
--------------------------------------------------------------------------- @function: CScalarOp::MdidType @doc: Expression type -------------------
src/backend/gporca/libgpopt/src/operators/CScalarOp.cpp:146
↓ 106 callers
Function
datumCopy
------------------------------------------------------------------------- * datumCopy * * Make a copy of a non-NULL datum. * * If the datatype is
src/backend/utils/adt/datum.c:134
↓ 106 callers
Function
ecpg_free
src/interfaces/ecpg/ecpglib/memory.c:12
↓ 106 callers
Function
write_stderr
* Write errors to stderr (or by equal means when stderr is * not available). */
src/bin/pg_ctl/pg_ctl.c:218
↓ 104 callers
Function
resetStringInfo
* resetStringInfo * * Reset the StringInfo: the data buffer remains valid, but its * previous content, if any, is cleared. */
src/common/stringinfo.c:90
↓ 103 callers
Method
Add
--------------------------------------------------------------------------- @function: CXformResult::Add @doc: add alternative ---------------------
src/backend/gporca/libgpopt/src/xforms/CXformResult.cpp:58
↓ 103 callers
Method
MDId
--------------------------------------------------------------------------- @function: CMDCastGPDB::MDId @doc: Mdid of cast object -----------------
src/backend/gporca/libnaucrates/src/md/CMDCastGPDB.cpp:92
↓ 103 callers
Method
PcpLookup
--------------------------------------------------------------------------- @function: CCostModelParamsGPDB::PcpLookup @doc: Lookup param by id; --
src/backend/gporca/libgpdbcost/src/CCostModelParamsGPDB.cpp:490
↓ 103 callers
Function
fastgetattr
* This is formatted so oddly so that the correspondence to the macro * definition in access/htup_details.h is maintained. */
src/backend/access/heap/heapam.c:1205
↓ 102 callers
Function
CatalogTupleDelete
* CatalogTupleDelete - do heap and indexing work for deleting a catalog tuple * * Delete the tuple identified by "tid" in the specified catalog. *
src/backend/catalog/indexing.c:350
↓ 102 callers
Function
deconstruct_array
* deconstruct_array --- simple method for extracting data from an array * * array: array object to examine (must not be NULL) * elmtype, elmlen, e
src/backend/utils/adt/arrayfuncs.c:3590
↓ 101 callers
Method
AppendFormat
--------------------------------------------------------------------------- @function: CStringStatic::AppendFormat @doc: Appends a formatted string
src/backend/gporca/libgpos/src/string/CStringStatic.cpp:138
↓ 101 callers
Function
CommitTransactionCommand
* CommitTransactionCommand */
src/backend/access/transam/xact.c:3944
↓ 101 callers
Function
bms_add_members
* bms_add_members - like bms_union, but left input is recycled */
src/backend/nodes/bitmapset.c:828
↓ 101 callers
Method
close
(self)
gpMgmt/bin/gppylib/db/dbconn.py:200
↓ 101 callers
Function
pg_malloc0
src/common/fe_memutils.c:52
↓ 100 callers
Method
Equals
--------------------------------------------------------------------------- @function: CPhysicalHashJoin::CReqdColsRequest::Equals @doc: Equality fun
src/backend/gporca/libgpopt/src/operators/CPhysical.cpp:242
↓ 100 callers
Method
GetDXLOperator
--------------------------------------------------------------------------- @function: CDXLLogicalGet::GetDXLOperator @doc: Operator type ----------
src/backend/gporca/libnaucrates/src/operators/CDXLLogicalGet.cpp:59
↓ 100 callers
Function
MemoryContextAllocZero
* MemoryContextAllocZero * Like MemoryContextAlloc, but clears allocated memory * * We could just call MemoryContextAlloc then clear the memory, b
src/backend/utils/mmgr/mcxt.c:1121
↓ 100 callers
Function
ReadBuffer
* ReadBuffer -- a shorthand for ReadBufferExtended, for reading from main * fork with RBM_NORMAL mode and default strategy. */
src/backend/storage/buffer/bufmgr.c:780
↓ 100 callers
Function
add_exact_object_address
* Add an entry to an ObjectAddresses array. * * As above, but specify entry exactly. */
src/backend/catalog/dependency.c:2633
↓ 100 callers
Function
makeDefElem
* makeDefElem - * build a DefElem node * * This is sufficient for the "typical" case with an unqualified option name * and no special action. */
src/backend/nodes/makefuncs.c:549
↓ 100 callers
Function
recordDependencyOn
* Record a dependency between 2 objects via their respective objectAddress. * The first argument is the dependent object, the second the one it * re
src/backend/catalog/pg_depend.c:42
↓ 98 callers
Method
GetCostModelParams
return cost model parameters
src/backend/gporca/libgpdbcost/include/gpdbcost/CCostModelGPDB.h:247
↓ 98 callers
Function
PQnfields
src/interfaces/libpq/fe-exec.c:3294
↓ 98 callers
Function
add_path
* add_path * Consider a potential implementation path for the specified parent rel, * and add it to the rel's pathlist if it is worthy of consid
src/backend/optimizer/util/pathnode.c:452
↓ 98 callers
Function
makeStringInfo
* makeStringInfo * * Create an empty 'StringInfoData' & return a pointer to it. */
src/common/stringinfo.c:40
↓ 97 callers
Function
RecoveryInProgress
* Is the system still in recovery? * * Unlike testing InRecovery, this works in any process that's connected to * shared memory. * * As a side-ef
src/backend/access/transam/xlog.c:8779
↓ 97 callers
Function
StringAt
Caveats: the START value is 0 based */
contrib/fuzzystrmatch/dmetaphone.c:347
↓ 97 callers
Function
executeQueryOrDie
* executeQueryOrDie() * * Formats a query string from the given arguments and executes the * resulting query. If the query fails, this function lo
src/bin/pg_upgrade/server.c:128
↓ 97 callers
Function
exprCollation
* exprCollation - * returns the Oid of the collation of the expression's result. * * Note: expression nodes that can invoke functions generally h
src/backend/nodes/nodeFuncs.c:781
↓ 96 callers
Function
PopActiveSnapshot
* PopActiveSnapshot * * Remove the topmost snapshot from the active snapshot stack, decrementing the * reference count, and free it if this was the
src/backend/utils/time/snapmgr.c:900
↓ 96 callers
Function
XLogReadBufferForRedo
* XLogReadBufferForRedo * Read a page during XLOG replay * * Reads a block referenced by a WAL record into shared buffer cache, and * determines
src/backend/access/transam/xlogutils.c:294
↓ 96 callers
Function
bms_union
* bms_union - set union */
src/backend/nodes/bitmapset.c:221
↓ 96 callers
Function
range
* range - supply cvec for a range, including legality check */
src/backend/regex/regc_locale.c:411
↓ 95 callers
Method
GetDXLOperatorType
--------------------------------------------------------------------------- @function: CDXLScalar::GetDXLOperatorType @doc: Operator Type ----------
src/backend/gporca/libnaucrates/src/operators/CDXLScalar.cpp:36
↓ 95 callers
Method
Union
--------------------------------------------------------------------------- @function: CBitSet::Union @doc: Union with given other set; (1) determine
src/backend/gporca/libgpos/src/common/CBitSet.cpp:347
↓ 95 callers
Function
bms_copy
* bms_copy - make a palloc'd copy of a bitmapset */
src/backend/nodes/bitmapset.c:70
↓ 95 callers
Function
index_close
---------------- * index_close - close an index relation * * If lockmode is not "NoLock", we then release the specified lock. * * Note that it
src/backend/access/index/indexam.c:159
↓ 95 callers
Function
pgstat_report_wait_end
---------- * pgstat_report_wait_end() - * * Called to report end of a wait. * ---------- */
src/include/utils/wait_event.h:302
↓ 94 callers
Function
StartTransactionCommand
* StartTransactionCommand */
src/backend/access/transam/xact.c:3793
↓ 94 callers
Function
defGetBoolean
* Extract a boolean value from a DefElem. */
src/backend/commands/define.c:110
↓ 93 callers
Method
Capacity
contrib/pax_storage/src/cpp/storage/pax_buffer.h:119
↓ 93 callers
Function
ECPGconnect
this contains some quick hacks, needs to be cleaned up, but it works */
src/interfaces/ecpg/ecpglib/connect.c:276
↓ 93 callers
Function
PSQLexec
* PSQLexec * * This is the way to send "backdoor" queries (those not directly entered * by the user). It is subject to -E but not -e. * * Caller
src/bin/psql/common.c:539
↓ 93 callers
Method
Test
contrib/pax_storage/src/cpp/comm/bloomfilter.cc:162
↓ 93 callers
Function
clamp_row_est
* clamp_row_est * Force a row-count estimate to a sane value. */
src/include/optimizer/cost.h:48
↓ 92 callers
Function
GetAssignedOidsForDispatch
* Get list of OIDs assigned in this transaction, since the last call. */
src/backend/catalog/oid_dispatch.c:1557
↓ 92 callers
Method
IsValid
--------------------------------------------------------------------------- @function: CMDIdGPDB::IsValid @doc: Is the mdid valid ------------------
src/backend/gporca/libnaucrates/src/md/CMDIdGPDB.cpp:289
↓ 92 callers
Method
Write
contrib/pax_storage/src/cpp/storage/local_file_system.cc:96
↓ 92 callers
Function
bms_next_member
* bms_next_member - find next member of a set * * Returns smallest member greater than "prevbit", or -2 if there is none. * "prevbit" must NOT be l
src/backend/nodes/bitmapset.c:1078
↓ 92 callers
Function
forboth
src/backend/gpopt/translate/CTranslatorDXLToPlStmt.cpp:2505
↓ 92 callers
Function
mapred_parse_error
-------------------------------------------------------------------------- */
gpcontrib/gpmapreduce/src/parse.c:16
← previous
next →
201–300 of 50,827, ranked by callers