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
↓ 8,551 callers
Function
errmsg
* errmsg --- add a primary error message text to the current error * * In addition to the usual %-escapes recognized by printf, "%m" in * fmt is re
src/backend/utils/error/elog.c:1140
↓ 6,782 callers
Function
errcode
* errcode --- add SQLSTATE error code to the current error * * The code is expected to be represented as per MAKE_SQLSTATE(). */
src/backend/utils/error/elog.c:901
↓ 2,464 callers
Function
foreach
src/backend/gpopt/gpdbwrappers.cpp:197
↓ 2,455 callers
Method
Release
--------------------------------------------------------------------------- @function: CJobFactory::Release @doc: Release completed job ------------
src/backend/gporca/libgpopt/src/search/CJobFactory.cpp:144
↓ 2,273 callers
Function
MemoryContextSwitchTo
src/include/utils/palloc.h:167
↓ 2,006 callers
Function
ObjectIdGetDatum
src/include/postgres.h:540
↓ 1,979 callers
Method
AddRef
count up
src/backend/gporca/libgpos/include/gpos/common/CRefCount.h:85
↓ 1,954 callers
Function
pfree
* pfree * Release an allocated chunk. */
src/backend/utils/mmgr/mcxt.c:1406
↓ 1,646 callers
Function
palloc
src/backend/utils/mmgr/mcxt.c:1299
↓ 1,580 callers
Function
list_length
Fetch list's length */
src/include/nodes/pg_list.h:148
↓ 1,475 callers
Function
lappend
* Append a pointer to the list. A pointer to the modified list is * returned. Note that this function may or may not destructively * modify the list
src/backend/nodes/list.c:335
↓ 1,411 callers
Function
appendStringInfo
* appendStringInfo * * Format text data under the control of fmt (an sprintf-style format string) * and append it to whatever is already in str. M
src/common/stringinfo.c:106
↓ 1,374 callers
Function
PQgetvalue
* PQgetvalue: * return the value of field 'field_num' of row 'tup_num' */
src/interfaces/libpq/fe-exec.c:3680
↓ 1,263 callers
Method
Pop
--------------------------------------------------------------------------- @function: CExpressionHandle::Pop @doc: Get operator from handle -------
src/backend/gporca/libgpopt/src/operators/CExpressionHandle.cpp:1182
↓ 1,208 callers
Function
appendStringInfoString
* appendStringInfoString * * Append a null-terminated string to str. * Like appendStringInfo(str, "%s", s) but faster. */
src/common/stringinfo.c:191
↓ 1,203 callers
Function
appendPQExpBufferStr
* appendPQExpBufferStr * Append the given string to a PQExpBuffer, allocating more space * if necessary. */
src/interfaces/libpq/pqexpbuffer.c:375
↓ 1,202 callers
Function
appendPQExpBuffer
* appendPQExpBuffer * * Format text data under the control of fmt (an sprintf-like format string) * and append it to whatever is already in str. M
src/interfaces/libpq/pqexpbuffer.c:273
↓ 1,109 callers
Method
Size
src/backend/gporca/libgpopt/include/gpopt/base/CKHeap.h:203
↓ 1,003 callers
Function
slice_from_s
src/backend/snowball/libstemmer/utilities.c:422
↓ 963 callers
Function
palloc0
src/backend/utils/mmgr/mcxt.c:1330
↓ 953 callers
Function
table_close
---------------- * table_close - close a table * * If lockmode is not "NoLock", we then release the specified lock. * * Note that it is often
src/backend/access/table/table.c:171
↓ 868 callers
Function
pstrdup
src/backend/utils/mmgr/mcxt.c:1536
↓ 845 callers
Function
PQclear
* PQclear - * free's the memory associated with a PGresult */
src/interfaces/libpq/fe-exec.c:717
↓ 844 callers
Function
table_open
---------------- * table_open - open a table relation by relation OID * * This is essentially relation_open plus check that the relation * is n
src/backend/access/table/table.c:43
↓ 832 callers
Function
LWLockRelease
* LWLockRelease - release a previously acquired lock */
src/backend/storage/lmgr/lwlock.c:1808
↓ 820 callers
Function
ReleaseSysCache
* ReleaseSysCache * Release previously grabbed reference count on a tuple */
src/backend/utils/cache/syscache.c:1403
↓ 776 callers
Function
errmsg
contrib/interconnect/test/elog_mock.c:378
↓ 761 callers
Function
errdetail
* errdetail --- add a detail error message text to the current error */
src/backend/utils/error/elog.c:1273
↓ 756 callers
Function
PQfnumber
* PQfnumber: find column number given column name * * The column name is parsed as if it were in a SQL statement, including * case-folding and doub
src/interfaces/libpq/fe-exec.c:3394
↓ 755 callers
Method
Append
--------------------------------------------------------------------------- @function: COrderSpec::Append @doc: Append order expression; -----------
src/backend/gporca/libgpopt/src/base/COrderSpec.cpp:137
↓ 752 callers
Function
pfree
src/common/fe_memutils.c:133
↓ 690 callers
Method
Eopid
--------------------------------------------------------------------------- @function: CScalarArrayCoerceExpr::Eopid @doc: Return operator identifier
src/backend/gporca/libgpopt/src/operators/CScalarArrayCoerceExpr.cpp:51
↓ 684 callers
Function
errhint
* errhint --- add a hint error message text to the current error */
src/backend/utils/error/elog.c:1385
↓ 679 callers
Function
errcode
contrib/interconnect/test/elog_mock.c:270
↓ 652 callers
Method
GetDXLMemoryManager
returns the current memory manager
src/backend/gporca/libnaucrates/include/naucrates/dxl/parser/CParseHandlerManager.h:76
↓ 651 callers
Function
pg_strdup
* "Safe" wrapper around strdup(). */
src/common/fe_memutils.c:84
↓ 632 callers
Function
TupleDescInitEntry
* TupleDescInitEntry * This function initializes a single attribute structure in * a previously allocated tuple descriptor. * * If attributeName
src/backend/access/common/tupdesc.c:590
↓ 632 callers
Function
sqlprint
print out an error message */
src/interfaces/ecpg/ecpglib/error.c:333
↓ 629 callers
Function
LWLockAcquire
* LWLockAcquire - acquire a lightweight lock in the specified mode * * If the lock is not available, sleep until it is. Returns true if the lock *
src/backend/storage/lmgr/lwlock.c:1204
↓ 625 callers
Function
SearchSysCache1
src/backend/utils/cache/syscache.c:1355
↓ 613 callers
Function
appendStringInfoChar
* appendStringInfoChar * * Append a single byte to str. * Like appendStringInfo(str, "%c", ch) but much faster. */
src/common/stringinfo.c:203
↓ 607 callers
Method
Arity
--------------------------------------------------------------------------- @function: CExpressionHandle::Arity @doc: Return number of children of at
src/backend/gporca/libgpopt/src/operators/CExpressionHandle.cpp:880
↓ 598 callers
Function
palloc
* Frontend emulation of backend memory management functions. Useful for * programs that compile backend files. */
src/common/fe_memutils.c:115
↓ 594 callers
Function
pfree
src/backend/access/gin/test/ginpostinglist_fakes.c:41
↓ 571 callers
Method
GetOperator
accessor for operator
src/backend/gporca/libnaucrates/include/naucrates/dxl/operators/CDXLNode.h:100
↓ 565 callers
Method
Append
--------------------------------------------------------------------------- @function: CWString::Append @doc: Appends a string to the current string
src/backend/gporca/libgpos/src/string/CWString.cpp:59
↓ 564 callers
Function
slice_del
src/backend/snowball/libstemmer/utilities.c:431
↓ 563 callers
Method
append
* ICBufferList::append * Append a buffer to the tail of a double-link list. */
contrib/udp2/ic_common/udp2/ic_udp2.cpp:828
↓ 560 callers
Function
errcode_for_file_access
* errcode_for_file_access --- add SQLSTATE error code to the current error * * The SQLSTATE code is chosen based on the saved errno value. We assum
src/backend/utils/error/elog.c:928
↓ 552 callers
Function
Int32GetDatum
src/include/postgres.h:503
↓ 549 callers
Function
ScanKeyInit
* ScanKeyInit * Shorthand version of ScanKeyEntryInitialize: flags and subtype * are assumed to be zero (the usual value), and collation is defaul
src/backend/access/common/scankey.c:75
↓ 545 callers
Function
GPOS_DELETE
src/backend/gporca/libgpos/include/gpos/memory/CMemoryPool.h:326
↓ 533 callers
Function
ECPGdo
* Execute SQL statements in the backend. * The input/output parameters are passed as variable-length argument list. */
src/interfaces/ecpg/ecpglib/execute.c:2280
↓ 525 callers
Function
psprintf
* psprintf * * Format text data under the control of fmt (an sprintf-style format string) * and return it in an allocated-on-demand buffer. The bu
src/common/psprintf.c:45
↓ 522 callers
Function
GetUserId
* GetUserId - get the current effective user ID. * * Note: there's no SetUserId() anymore; use SetUserIdAndSecContext(). */
src/backend/utils/init/miscinit.c:495
↓ 521 callers
Function
pg_fatal
src/bin/pg_upgrade/util.c:239
↓ 513 callers
Method
join
Waits (up to an optional timeout) for the worker queue to be fully completed, and returns True if the pool is now done with its work.
gpMgmt/bin/gppylib/commands/base.py:118
↓ 494 callers
Method
GetBuffer
--------------------------------------------------------------------------- @function: CMDIdGPDB::GetBuffer @doc: Returns the string representation o
src/backend/gporca/libnaucrates/src/md/CMDIdGPDB.cpp:204
↓ 489 callers
Function
parser_errposition
* parser_errposition * Report a parse-analysis-time cursor position, if possible. * * This is expected to be used within an ereport() call. The r
src/backend/parser/parse_node.c:110
↓ 462 callers
Method
Append
add child parse handler
src/backend/gporca/libnaucrates/include/naucrates/dxl/parser/CParseHandlerBase.h:83
↓ 458 callers
Method
Size
--------------------------------------------------------------------------- @function: CDatumOidGPDB::Size @doc: Accessor of size ------------------
src/backend/gporca/libnaucrates/src/base/CDatumOidGPDB.cpp:125
↓ 447 callers
Function
initStringInfo
* initStringInfo * * Initialize a StringInfoData struct (with previously undefined contents) * to describe an empty string. */
src/common/stringinfo.c:58
↓ 425 callers
Function
format_type_be
* This version is for use within the backend in error messages, etc. * One difference is that it will fail for an invalid type. * * The result is a
src/backend/utils/adt/format_type.c:338
↓ 424 callers
Function
pg_strcasecmp
* Case-independent comparison of two null-terminated strings. */
src/port/pgstrcasecmp.c:35
↓ 421 callers
Method
format
Generate gp_era contents based on era value
gpMgmt/bin/gppylib/gp_era.py:72
↓ 418 callers
Function
palloc
* Fake memory allocation methods */
src/backend/access/gin/test/ginpostinglist_fakes.c:34
↓ 411 callers
Function
PQresultStatus
src/interfaces/libpq/fe-exec.c:3216
↓ 410 callers
Function
PQerrorMessage
src/interfaces/libpq/fe-connect.c:6985
↓ 408 callers
Function
LockBuffer
* Acquire or release the content_lock for the buffer. */
src/backend/storage/buffer/bufmgr.c:4289
↓ 403 callers
Function
systable_endscan
* systable_endscan --- close scan, release resources * * Note that it's still up to the caller to close the heap relation. */
src/backend/access/index/genam.c:595
↓ 396 callers
Function
libpq_gettext
src/interfaces/libpq/fe-misc.c:1378
↓ 386 callers
Function
PQntuples
src/interfaces/libpq/fe-exec.c:3286
↓ 382 callers
Function
systable_beginscan
* systable_beginscan --- set up for heap-or-index scan * * rel: catalog to scan, already opened and suitably locked * indexId: OID of index to cond
src/backend/access/index/genam.c:383
↓ 380 callers
Function
systable_getnext
* systable_getnext --- get next tuple in a heap-or-index scan * * Returns NULL if no more tuples available. * * Note that returned tuple is a refe
src/backend/access/index/genam.c:502
↓ 375 callers
Method
info
return self
gpMgmt/bin/gppylib/utils.py:393
↓ 370 callers
Function
find_among_b
src/backend/snowball/libstemmer/utilities.c:298
↓ 362 callers
Function
destroyPQExpBuffer
* destroyPQExpBuffer(str); * * free()s both the data buffer and the PQExpBufferData. * This is the inverse of createPQExpBuffer(). */
src/interfaces/libpq/pqexpbuffer.c:122
↓ 359 callers
Function
hash_search
* hash_search -- look up key in table and perform action * hash_search_with_hash_value -- same, with key's hash value already computed * * action i
src/backend/utils/hash/dynahash.c:953
↓ 356 callers
Method
AddAttribute
--------------------------------------------------------------------------- @function: CXMLSerializer::AddAttribute @doc: Adds an attribute-value pai
src/backend/gporca/libnaucrates/src/xml/CXMLSerializer.cpp:180
↓ 355 callers
Method
GetBuffer
--------------------------------------------------------------------------- @function: CWString::GetBuffer @doc: Returns the wide character buffer st
src/backend/gporca/libgpos/src/string/CWString.cpp:44
↓ 350 callers
Function
BoolGetDatum
src/include/postgres.h:485
↓ 350 callers
Function
DatumGetBool
* DatumGetBool * Returns boolean value of a datum. * * Note: any nonzero value will be considered true. */
src/include/postgres.h:484
↓ 349 callers
Function
createPQExpBuffer
* createPQExpBuffer * * Create an empty 'PQExpBufferData' & return a pointer to it. */
src/interfaces/libpq/pqexpbuffer.c:80
↓ 334 callers
Method
ExchangeSet
--------------------------------------------------------------------------- @function: CBitSet::ExchangeSet @doc: Set given bit; return previous valu
src/backend/gporca/libgpos/src/common/CBitSet.cpp:261
↓ 325 callers
Function
bufcat
* A simple wrapper around a strncpy that handles resizing an input buffer * when needed. */
gpcontrib/gpmapreduce/src/mapred.c:251
↓ 320 callers
Method
write
(self, data)
gpMgmt/bin/gppylib/system/fileSystemImplTest.py:41
↓ 310 callers
Method
ActivateParseHandler
--------------------------------------------------------------------------- @function: CParseHandlerManager::ActivateParseHandler @doc: Activates the
src/backend/gporca/libnaucrates/src/parser/CParseHandlerManager.cpp:63
↓ 310 callers
Function
UnlockReleaseBuffer
* UnlockReleaseBuffer -- release the content lock and pin on a buffer * * This is just a shorthand for a common combination. */
src/backend/storage/buffer/bufmgr.c:4003
↓ 308 callers
Function
CStringGetDatum
src/include/postgres.h:567
↓ 302 callers
Function
heap_freetuple
* heap_freetuple */
src/backend/access/common/heaptuple.c:1382
↓ 287 callers
Function
MarkBufferDirty
* MarkBufferDirty * * Marks buffer contents as dirty (actual write happens later). * * Buffer must be pinned and exclusive-locked. (If caller do
src/backend/storage/buffer/bufmgr.c:1680
↓ 287 callers
Method
size
------------------------------------------------------------------------------
contrib/pax_storage/src/cpp/cpp-stub/src_linux/addr_any.h:2459
↓ 284 callers
Method
AddChild
--------------------------------------------------------------------------- @function: CDXLNode::AddChild @doc: Adds a child to the DXL node's list o
src/backend/gporca/libnaucrates/src/operators/CDXLNode.cpp:171
↓ 283 callers
Function
heap_form_tuple
src/include/access/htup_details.h:815
↓ 282 callers
Function
ExecClearTuple
* ExecClearTuple - clear the slot's contents */
src/include/executor/tuptable.h:426
↓ 281 callers
Method
Used
contrib/pax_storage/src/cpp/storage/pax_buffer.h:107
↓ 281 callers
Function
printfPQExpBuffer
* printfPQExpBuffer * Format text data under the control of fmt (an sprintf-like format string) * and insert it into str. More space is allocated t
src/interfaces/libpq/pqexpbuffer.c:243
↓ 277 callers
Function
SysCacheGetAttr
* SysCacheGetAttr * * Given a tuple previously fetched by SearchSysCache(), * extract a specific attribute. * * This is equivalent to using hea
src/backend/utils/cache/syscache.c:1616
↓ 270 callers
Function
print
* print * print contents of Node to stdout */
src/backend/nodes/print.c:35
↓ 268 callers
Function
exprType
* exprType - * returns the Oid of the type of the expression's result. */
src/backend/nodes/nodeFuncs.c:42
next →
1–100 of 50,827, ranked by callers