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
↓ 45 callers
Function
TupleDescGetAttInMetadata
* TupleDescGetAttInMetadata - Build an AttInMetadata structure based on the * supplied TupleDesc. AttInMetadata can be used in conjunction with C str
src/backend/executor/execTuples.c:2102
↓ 45 callers
Method
addValue
(self, key, value, isWarning=False)
gpMgmt/bin/gppylib/programs/clsSystemState.py:187
↓ 45 callers
Function
func_signature_string
* func_signature_string * As above, but function name is passed as a qualified name list. */
src/backend/parser/parse_func.c:2084
↓ 45 callers
Function
get_database_name
* get_database_name - given a database OID, look up the name * * Returns a palloc'd string, or NULL if no such database. */
src/backend/commands/dbcommands.c:2407
↓ 45 callers
Function
get_typlenbyvalalign
* get_typlenbyvalalign * * A three-fer: given the type OID, return typlen, typbyval, typalign. */
src/backend/utils/cache/lsyscache.c:2871
↓ 45 callers
Method
main
(self)
gpMgmt/bin/gpconfig_modules/parse_guc_metadata.py:49
↓ 45 callers
Function
report_corruption
* Record a single corruption found in the main table. The values in ctx should * indicate the location of the corruption, and the msg argument shoul
contrib/amcheck/verify_heapam.c:606
↓ 45 callers
Function
request_end
* request_end * * Finished a request. Close socket and cleanup. * Note: ending a request does not mean that the session is ended. * Maybe there is
src/bin/gpfdist/gpfdist.c:1195
↓ 44 callers
Method
Add
gpcontrib/gpcloud/src/s3http_headers.cpp:11
↓ 44 callers
Function
BTreeTupleIsPosting
src/include/access/nbtree.h:484
↓ 44 callers
Method
RetrieveScOp
--------------------------------------------------------------------------- @function: CMDAccessor::RetrieveScOp @doc: Retrieves the metadata descrip
src/backend/gporca/libgpopt/src/mdcache/CMDAccessor.cpp:756
↓ 44 callers
Function
XLogRecGetBlockData
* Returns the data associated with a block reference, or NULL if there is * no data (e.g. because a full-page image was taken instead). The returned
src/backend/access/transam/xlogreader.c:1566
↓ 44 callers
Function
XLogRecGetBlockTag
* Returns information about the block that a block reference refers to. * * If the WAL record contains a block reference with the given ID, *rnode,
src/backend/access/transam/xlogreader.c:1542
↓ 44 callers
Method
addCommand
(self, cmd)
gpMgmt/bin/gppylib/commands/base.py:88
↓ 44 callers
Method
call_tool
Call a tool on the MCP server
mcp-server/src/cbmcp/client.py:99
↓ 44 callers
Function
create_agg_path
* create_agg_path * Creates a pathnode that represents performing aggregation/grouping * * 'rel' is the parent relation associated with the resul
src/backend/optimizer/util/pathnode.c:5045
↓ 44 callers
Function
ecpg_sqlda_align_add_size
* Compute the next variable's offset with * the current variable's size and alignment. * * * Returns: * - the current variable's offset in *curre
src/interfaces/ecpg/ecpglib/sqlda.c:32
↓ 44 callers
Function
eq_s
src/backend/snowball/libstemmer/utilities.c:215
↓ 44 callers
Function
float8_pl
src/include/utils/float.h:156
↓ 44 callers
Function
makeRangeVar
* makeRangeVar - * creates a RangeVar node (rather oversimplified case) */
src/backend/nodes/makefuncs.c:423
↓ 44 callers
Function
mapred_malloc
Wrappers around malloc/free to handle error conditions more cleanly */
gpcontrib/gpmapreduce/src/mapred.c:109
↓ 44 callers
Function
setenv
src/port/setenv.c:19
↓ 44 callers
Function
timestamp2tm
* timestamp2tm() - Convert timestamp data type to POSIX time structure. * * Note that year is _not_ 1900-based, but is an explicit full value. * Al
src/backend/utils/adt/timestamp.c:2174
↓ 43 callers
Function
GetCurrentTransactionNestLevel
* GetCurrentTransactionNestLevel * * Note: this will return zero when not inside any transaction, one when * inside a top-level transaction, etc.
src/backend/access/transam/xact.c:987
↓ 43 callers
Function
GetNewOrPreassignedOid
---------------------------------------------------------------- * Wrapper functions over upstream GetNewOidWithIndex(), that * memorize the OID for
src/backend/catalog/oid_dispatch.c:421
↓ 43 callers
Function
JsonbIteratorInit
* Given a JsonbContainer, expand to JsonbIterator to iterate over items * fully expanded to in-memory representation for manipulation. * * See Json
src/backend/utils/adt/jsonb_util.c:811
↓ 43 callers
Function
LockRelationOid
* LockRelationOid * * Lock a relation given only its OID. This should generally be used * before attempting to open the relation's relcache entry
src/backend/storage/lmgr/lmgr.c:116
↓ 43 callers
Function
MemoryContextStrdup
* MemoryContextStrdup * Like strdup(), but allocate from the specified context */
src/backend/utils/mmgr/mcxt.c:1523
↓ 43 callers
Function
SPI_result_code_string
* SPI_result_code_string --- convert any SPI return code to a string * * This is often useful in error messages. Most callers will probably * only
src/backend/executor/spi.c:2024
↓ 43 callers
Function
foreach
contrib/interconnect/proxy/ic_proxy.h:76
↓ 43 callers
Method
get_filename
(self)
gpMgmt/bin/gppylib/operations/test/test_package.py:100
↓ 43 callers
Function
get_progname
* Extracts the actual name of the program as called - * stripped of .exe suffix if any */
src/port/path.c:452
↓ 43 callers
Function
has_privs_of_role
* Does member have the privileges of role (directly or indirectly)? * * This is defined not to recurse through roles that don't have rolinherit * s
src/backend/utils/adt/acl.c:4994
↓ 43 callers
Function
l_bb_before_v
* Insert a new basic block, just before r, the name being determined by fmt * and arguments. */
src/include/jit/llvmjit_emit.h:135
↓ 43 callers
Function
pg_encoding_to_char
src/common/encnames.c:587
↓ 43 callers
Function
pq_sendstring
-------------------------------- * pq_sendstring - append a null-terminated text string (with conversion) * * NB: passed text string must be null-
src/backend/libpq/pqformat.c:196
↓ 42 callers
Method
Bit
--------------------------------------------------------------------------- @function: CBitSetIter::UlBit @doc: Return current position of cursor --
src/backend/gporca/libgpos/src/common/CBitSetIter.cpp:77
↓ 42 callers
Method
FCompatible
--------------------------------------------------------------------------- @function: CEnfdOrder::FCompatible @doc: Check if the given order specifi
src/backend/gporca/libgpopt/src/base/CEnfdOrder.cpp:66
↓ 42 callers
Function
LockAcquire
* LockAcquire -- Check for lock conflicts, sleep if conflict found, * set lock if/when no conflicts. * * Inputs: * locktag: unique identifier for
src/backend/storage/lmgr/lock.c:780
↓ 42 callers
Function
PQdb
=========== accessor functions for PGconn ========= */
src/interfaces/libpq/fe-connect.c:6831
↓ 42 callers
Function
appendContextKeyword
* appendContextKeyword - append a keyword to buffer * * If prettyPrint is enabled, perform a line break, and adjust indentation. * Otherwise, just
src/backend/utils/adt/ruleutils.c:8365
↓ 42 callers
Function
cdbdisp_clearCdbPgResults
src/backend/cdb/dispatcher/cdbdispatchresult.c:886
↓ 42 callers
Function
connectToServer
* connectToServer() * * Connects to the desired database on the designated server. * If the connection attempt fails, this function logs an error
src/bin/pg_upgrade/server.c:28
↓ 42 callers
Function
get_float8_nan
src/include/utils/float.h:121
↓ 42 callers
Function
heap_getnext
src/backend/access/heap/heapam.c:1405
↓ 42 callers
Function
makeRangeVarFromNameList
* makeRangeVarFromNameList * Utility routine to convert a qualified-name list into RangeVar form. */
src/backend/catalog/namespace.c:3150
↓ 42 callers
Function
quote_identifier
* quote_identifier() * Properly double-quote a SQL identifier. * * The result should be pg_free'd, but most callers don't bother because * memory
src/bin/pg_upgrade/util.c:303
↓ 42 callers
Function
random
src/port/random.c:21
↓ 42 callers
Function
replace_token
* make a copy of the array of lines, with token replaced by replacement * the first time it occurs on each line. * * This does most of what sed was
src/bin/initdb/initdb.c:390
↓ 42 callers
Function
run_command
Runs a command on the localhost @param cmd_str: The command string to be executed @return: stdout/stderr output as a string
gpMgmt/bin/gppylib/operations/test/regress/test_package/__init__.py:97
↓ 42 callers
Function
slot_getallattrs
* slot_getallattrs * This function forces all the entries of the slot's Datum/isnull * arrays to be valid. The caller may then extract data direc
src/include/executor/tuptable.h:355
↓ 42 callers
Function
table_slot_create
src/backend/access/table/tableam.c:93
↓ 41 callers
Function
ExecFreeExprContext
---------------- * ExecFreeExprContext * * A plan node's ExprContext should be freed explicitly during executor * shutdown because there may be s
src/backend/executor/execUtils.c:706
↓ 41 callers
Function
IsInParallelMode
* IsInParallelMode * * Are we in a parallel operation, as either the leader or a worker? Check * this to prohibit operations that change backend-l
src/backend/access/transam/xact.c:1289
↓ 41 callers
Function
OpenTransientFile
* Open a file with OpenTransientFilePerm() and pass default file mode for * the fileMode parameter. */
src/backend/storage/file/fd.c:2553
↓ 41 callers
Method
Pstats
--------------------------------------------------------------------------- @function: CExpressionHandle::Pstats @doc: Return derived stats of n-th c
src/backend/gporca/libgpopt/src/operators/CExpressionHandle.cpp:1070
↓ 41 callers
Function
RelationGetPartitionDesc
* RelationGetPartitionDesc -- get partition descriptor, if relation is partitioned * * We keep two partdescs in relcache: rd_partdesc includes all p
src/backend/partitioning/partdesc.c:71
↓ 41 callers
Method
RetrieveRel
--------------------------------------------------------------------------- @function: CMDAccessor::RetrieveRel @doc: Retrieves a metadata cache rela
src/backend/gporca/libgpopt/src/mdcache/CMDAccessor.cpp:654
↓ 41 callers
Function
TypeNameToString
* TypeNameToString * Produce a string representing the name of a TypeName. * * NB: this must work on TypeNames that do not describe any actual typ
src/backend/parser/parse_type.c:477
↓ 41 callers
Method
WriteTuple
contrib/pax_storage/src/cpp/storage/orc/orc_writer.cc:413
↓ 41 callers
Function
getopt_long
* getopt_long * Parse argc/argv argument vector, with long options. * * This implementation does not use optreset. Instead, we guarantee that * i
src/port/getopt_long.c:56
↓ 41 callers
Function
gprintln
src/bin/gpfdist/gpfdist.c:3033
↓ 41 callers
Function
l_ptr_const
* Emit a non-LLVM pointer as an LLVM constant. */
src/include/jit/llvmjit_emit.h:26
↓ 41 callers
Function
len_utf8
src/backend/snowball/libstemmer/utilities.c:478
↓ 41 callers
Function
replace_nestloop_params
* replace_nestloop_params * Replace outer-relation Vars and PlaceHolderVars in the given expression * with nestloop Params * * All Vars and Pl
src/backend/optimizer/plan/createplan.c:6086
↓ 41 callers
Function
t_isspace
src/backend/tsearch/ts_locale.c:63
↓ 40 callers
Function
ECPGdeallocate
handle the EXEC SQL DEALLOCATE PREPARE statement */
src/interfaces/ecpg/ecpglib/prepare.c:314
↓ 40 callers
Function
ExecEvalExpr
src/include/executor/executor.h:358
↓ 40 callers
Method
GetMdidForCmpType
--------------------------------------------------------------------------- @function: CMDTypeOidGPDB::GetMdidForCmpType @doc: Return mdid of specifi
src/backend/gporca/libnaucrates/src/md/CMDTypeOidGPDB.cpp:198
↓ 40 callers
Method
GetRows
contrib/pax_storage/src/cpp/storage/orc/orc_group.cc:87
↓ 40 callers
Method
Intersection
--------------------------------------------------------------------------- @function: CBitSet::Intersection @doc: Iterate through all links and inte
src/backend/gporca/libgpos/src/common/CBitSet.cpp:420
↓ 40 callers
Method
IsEmpty
--------------------------------------------------------------------------- @function: CReqdPropRelational::IsEmpty @doc: Return true if property con
src/backend/gporca/libgpopt/src/base/CReqdPropRelational.cpp:135
↓ 40 callers
Method
NumRebinds
rebinds accessor
src/backend/gporca/libgpopt/include/gpopt/cost/ICostModel.h:246
↓ 40 callers
Method
PdrgPexpr
--------------------------------------------------------------------------- @function: CCTEInfo::PdrgPexpr @doc: Return an array of all stored CTE ex
src/backend/gporca/libgpopt/src/base/CCTEInfo.cpp:598
↓ 40 callers
Method
Pmda
return the metadata acccessor
src/backend/gporca/server/include/unittest/gpopt/CTestUtils.h:159
↓ 40 callers
Function
UInt32GetDatum
src/include/postgres.h:506
↓ 40 callers
Function
assign_expr_collations
* assign_expr_collations() * Mark all nodes in the given expression tree with collation information. * * This is exported for the benefit of vario
src/backend/parser/parse_collate.c:176
↓ 40 callers
Function
create_plan_recurse
* create_plan_recurse * Recursive guts of create_plan(). */
src/backend/optimizer/plan/createplan.c:447
↓ 40 callers
Function
ecpg_type_infocache_push
src/interfaces/ecpg/ecpglib/execute.c:147
↓ 40 callers
Function
find_all_inheritors
* find_all_inheritors - * Returns a list of relation OIDs including the given rel plus * all relations that inherit from it, directly or indirectl
src/backend/catalog/pg_inherits.c:292
↓ 40 callers
Function
find_base_rel
* find_base_rel * Find a base or other relation entry, which must already exist. */
src/backend/optimizer/util/relnode.c:509
↓ 40 callers
Function
get_float8_infinity
src/include/utils/float.h:92
↓ 40 callers
Function
hash_any
src/include/common/hashfn.h:30
↓ 40 callers
Method
join
(self)
src/test/isolation2/sql_isolation_testcase.py:321
↓ 40 callers
Function
range_get_typcache
* range_get_typcache: get cached information about a range type * * This is for use by range-related functions that follow the convention * of usin
src/backend/utils/adt/rangetypes.c:1634
↓ 39 callers
Function
AtEOXact_GUC
* Do GUC processing at transaction or subtransaction commit or abort, or * when exiting a function that has proconfig settings, or when undoing a *
src/backend/utils/misc/guc.c:6526
↓ 39 callers
Method
CreateDXLNode
--------------------------------------------------------------------------- @function: CParseHandlerOp::CreateDXLNode @doc: Returns the constructed D
src/backend/gporca/libnaucrates/src/parser/CParseHandlerOp.cpp:58
↓ 39 callers
Function
DtxContextToString
src/backend/cdb/cdbtmutils.c:111
↓ 39 callers
Function
ECPGget_desc
src/interfaces/ecpg/ecpglib/descriptor.c:240
↓ 39 callers
Function
ExecInitExpr
* ExecInitExpr: prepare an expression tree for execution * * This function builds and returns an ExprState implementing the given * Expr node tree.
src/backend/executor/execExpr.c:134
↓ 39 callers
Function
ExecuteSqlQueryForSingleRow
* Execute an SQL query and verify that we got exactly one row back. */
src/bin/pg_dump/pg_backup_db.c:346
↓ 39 callers
Function
ItemPointerEquals
* ItemPointerEquals * Returns true if both item pointers point to the same item, * otherwise returns false. * * Note: * Asserts that the disk it
src/backend/storage/page/itemptr.c:28
↓ 39 callers
Function
JsonbValueToJsonb
* Turn an in-memory JsonbValue into a Jsonb for on-disk storage. * * Generally we find it more convenient to directly iterate through the Jsonb * r
src/backend/utils/adt/jsonb_util.c:91
↓ 39 callers
Function
SHMQueueDelete
* SHMQueueDelete -- remove an element from the queue and * close the links */
src/backend/storage/ipc/shmqueue.c:67
↓ 39 callers
Method
SetProperties
--------------------------------------------------------------------------- @function: CDXLNode::SetProperties @doc: Set operator properties -------
src/backend/gporca/libnaucrates/src/operators/CDXLNode.cpp:267
↓ 39 callers
Function
_hash_relbuf
* _hash_relbuf() -- release a locked buffer. * * Lock and pin (refcount) are both dropped. */
src/backend/access/hash/hashpage.c:264
↓ 39 callers
Function
appendStringInfoSpaces
* appendStringInfoSpaces * * Append the specified number of spaces to a buffer. */
src/common/stringinfo.c:221
↓ 39 callers
Function
float8_div
src/include/utils/float.h:236
↓ 39 callers
Function
float_overflow_error
* We use these out-of-line ereport() calls to report float overflow, * underflow, and zero-divide, because following our usual practice of * repeati
src/backend/utils/adt/float.c:83
↓ 39 callers
Function
getObjectDescription
* getObjectDescription: build an object description for messages * * The result is a palloc'd string. NULL is returned for an undefined * object i
src/backend/catalog/objectaddress.c:3064
← previous
next →
601–700 of 50,827, ranked by callers