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
↓ 39 callers
Function
get_typlenbyval
* get_typlenbyval * * A two-fer: given the type OID, return both typlen and typbyval. * * Since both pieces of info are needed to know how to co
src/backend/utils/cache/lsyscache.c:2851
↓ 39 callers
Function
lookup_rowtype_tupdesc
* lookup_rowtype_tupdesc * * Given a typeid/typmod that should describe a known composite type, * return the tuple descriptor for the type. Will e
src/backend/utils/cache/typcache.c:1830
↓ 39 callers
Function
pg_proc_aclcheck
* Exported routine for checking a user's access privileges to a function */
src/backend/catalog/aclchk.c:5252
↓ 39 callers
Function
pgstat_fetch_stat_dbentry
---------- * pgstat_fetch_stat_dbentry() - * * Support function for the SQL-callable pgstat* functions. Returns * the collected statistics for one
src/backend/postmaster/pgstat.c:2732
↓ 39 callers
Function
pq_endmessage
-------------------------------- * pq_endmessage - send the completed message to the frontend * * The data buffer is pfree()d, but if the StringIn
src/backend/libpq/pqformat.c:297
↓ 39 callers
Function
syslogger_write_int32
src/backend/postmaster/syslogger.c:1027
↓ 38 callers
Function
FreeExecutorState
---------------- * FreeExecutorState * * Release an EState along with all remaining working storage. * * Note: this is not responsible for rele
src/backend/executor/execUtils.c:240
↓ 38 callers
Method
Init
--------------------------------------------------------------------------- @function: CUnittest::Init @doc: Initialize unittest array -------------
src/backend/gporca/libgpos/src/test/CUnittest.cpp:425
↓ 38 callers
Function
MemoryContextInit
* MemoryContextInit * Start up the memory-context subsystem. * * This must be called before creating contexts or allocating memory in * contexts.
src/backend/utils/mmgr/mcxt.c:123
↓ 38 callers
Function
MultiXactIdPrecedes
* Decide which of two MultiXactIds is earlier. * * XXX do we need to do something special for InvalidMultiXactId? * (Doesn't look like it.) */
src/backend/access/transam/multixact.c:3157
↓ 38 callers
Method
Pdrgpexpr
accessor
src/backend/gporca/libgpopt/include/gpopt/xforms/CXformResult.h:49
↓ 38 callers
Function
_outPathInfo
* print the basic stuff of all nodes that inherit from Path * * Note we do NOT print the parent, else we'd be in infinite recursion. * We can print
src/backend/nodes/outfuncs.c:1997
↓ 38 callers
Function
append_raw_sql
(test_num, sql)
gpMgmt/bin/gpload_test/gpload2/TEST_local_schema_and_mode.py:6
↓ 38 callers
Function
errcode_for_socket_access
* errcode_for_socket_access --- add SQLSTATE error code to the current error * * The SQLSTATE code is chosen based on the saved errno value. We ass
src/backend/utils/error/elog.c:998
↓ 38 callers
Function
in_grouping_b_U
src/backend/snowball/libstemmer/utilities.c:129
↓ 38 callers
Function
makeBoolConst
* makeBoolConst - * creates a Const node representing a boolean value (can be NULL too) */
src/backend/nodes/makefuncs.c:358
↓ 38 callers
Function
new_object_addresses
* Routines for handling an expansible array of ObjectAddress items. * * new_object_addresses: create a new ObjectAddresses array. */
src/backend/catalog/dependency.c:2578
↓ 38 callers
Function
newstate
* newstate - allocate an NFA state, with zero flag value */
src/backend/regex/regc_nfa.c:136
↓ 38 callers
Function
pq_beginmessage
-------------------------------- * pq_beginmessage - initialize for sending a message * -------------------------------- */
src/backend/libpq/pqformat.c:86
↓ 38 callers
Function
pq_sendbytes
-------------------------------- * pq_sendbytes - append raw data to a StringInfo buffer * -------------------------------- */
src/backend/libpq/pqformat.c:124
↓ 38 callers
Function
print_error
src/test/unit/cmockery/cmockery.c:1746
↓ 38 callers
Function
transformExprRecurse
src/backend/parser/parse_expr.c:115
↓ 37 callers
Function
BuildTupleFromCStrings
* BuildTupleFromCStrings - build a HeapTuple given user data in C string form. * values is an array of C strings, one for each attribute of the retur
src/backend/executor/execTuples.c:2151
↓ 37 callers
Function
CreateExecutorState
---------------- * CreateExecutorState * * Create and initialize an EState node, which is the root of * working storage for an entire Executor
src/backend/executor/execUtils.c:123
↓ 37 callers
Function
ExecQual
src/include/executor/executor.h:438
↓ 37 callers
Method
Get
gpcontrib/gpcloud/src/s3utils.cpp:125
↓ 37 callers
Function
ItemPointerCompare
* ItemPointerCompare * Generic btree-style comparison for item pointers. */
src/backend/storage/page/itemptr.c:51
↓ 37 callers
Method
Matches
--------------------------------------------------------------------------- @function: COrderSpec::COrderExpression::Matches @doc: Check if order exp
src/backend/gporca/libgpopt/src/base/COrderSpec.cpp:68
↓ 37 callers
Function
TestForOldSnapshot
* Check whether the given snapshot is too old to have safely read the given * page from the given table. If so, throw a "snapshot too old" error. *
src/include/storage/bufmgr.h:300
↓ 37 callers
Function
TransactionIdIsInProgress
* TransactionIdIsInProgress -- is given transaction running in some backend * * Aside from some shortcuts such as checking RecentXmin and our own Xi
src/backend/storage/ipc/procarray.c:1458
↓ 37 callers
Method
UlCTEId
--------------------------------------------------------------------------- @function: CCTEInfo::CCTEInfoEntry::UlCTEId @doc: CTE id ---------------
src/backend/gporca/libgpopt/src/base/CCTEInfo.cpp:167
↓ 37 callers
Method
UnTreated
contrib/pax_storage/src/cpp/storage/pax_buffer.h:346
↓ 37 callers
Function
checkNotNone
(label, value)
gpMgmt/bin/gppylib/utils.py:51
↓ 37 callers
Method
clear
gpcontrib/gpcloud/test/decompress_reader_test.cpp:39
↓ 37 callers
Function
dumpComment
* dumpComment -- * * This routine is used to dump any comments associated with the * object handed to this routine. The routine takes the object ty
src/bin/pg_dump/pg_dump.c:11080
↓ 37 callers
Function
dump_expr
src/pl/plpgsql/src/pl_funcs.c:1591
↓ 37 callers
Function
enlargeStringInfo
* enlargeStringInfo * * Make sure there is enough space for 'needed' more bytes * ('needed' does not include the terminating null). * * External
src/common/stringinfo.c:298
↓ 37 callers
Function
errcontext_datumstreamblockread
src/backend/utils/datumstream/datumstreamblock.c:97
↓ 37 callers
Function
errdetail_datumstreamblockread
src/backend/utils/datumstream/datumstreamblock.c:76
↓ 37 callers
Function
exec_eval_cleanup
---------- * Release temporary memory used by expression/subselect evaluation * * NB: the result of the evaluation is no longer valid after this is
src/pl/plpgsql/src/pl_exec.c:4076
↓ 37 callers
Function
finalize_primnode
* finalize_primnode: add IDs of all PARAM_EXEC params appearing in the given * expression tree to the result set. */
src/backend/optimizer/plan/subselect.c:3410
↓ 37 callers
Function
free_expr
src/pl/plpgsql/src/pl_funcs.c:714
↓ 37 callers
Function
get_func_name
* get_func_name * returns the name of the function with the given funcid * * Note: returns a palloc'd copy of the string, or NULL if no such func
src/backend/utils/cache/lsyscache.c:1901
↓ 37 callers
Function
l_sizet_const
* Emit constant integer. */
src/include/jit/llvmjit_emit.h:82
↓ 37 callers
Function
pg_namespace_aclcheck
* Exported routine for checking a user's access privileges to a namespace */
src/backend/catalog/aclchk.c:5290
↓ 37 callers
Function
recomputeNamespacePath
* recomputeNamespacePath - recompute path derived variables if needed. */
src/backend/catalog/namespace.c:3901
↓ 37 callers
Function
table_beginscan_catalog
src/backend/access/table/tableam.c:114
↓ 37 callers
Function
unit_test_result
src/test/isolation2/workfile_mgr_test.c:861
↓ 36 callers
Function
CacheRegisterSyscacheCallback
* CacheRegisterSyscacheCallback * Register the specified function to be called for all future * invalidation events in the specified cache. The c
src/backend/utils/cache/inval.c:1530
↓ 36 callers
Method
GetColumns
contrib/pax_storage/src/cpp/storage/columns/pax_columns.cc:114
↓ 36 callers
Method
GetNextPlanId
--------------------------------------------------------------------------- @function: CContextDXLToPlStmt::GetNextPlanId @doc: Get the next plan id
src/backend/gpopt/translate/CContextDXLToPlStmt.cpp:91
↓ 36 callers
Method
GetUpperBound
upper point
src/backend/gporca/libnaucrates/include/naucrates/statistics/CBucket.h:135
↓ 36 callers
Function
PQsocket
* In Windows, socket values are unsigned, and an invalid socket value * (INVALID_SOCKET) is ~0, which equals -1 in comparisons (with no compiler * w
src/interfaces/libpq/fe-connect.c:7011
↓ 36 callers
Method
Ped
src/backend/gporca/libgpopt/src/operators/CPhysical.cpp:980
↓ 36 callers
Method
ReSize
contrib/pax_storage/src/cpp/storage/pax_buffer.cc:107
↓ 36 callers
Function
addObjectDependency
* Add a dependency link to a DumpableObject * * Note: duplicate dependencies are currently not eliminated */
src/bin/pg_dump/common.c:739
↓ 36 callers
Method
apply_patches
(self, patches)
gpMgmt/bin/gppylib/test/unit/gp_unittest.py:20
↓ 36 callers
Function
ecpg_gettext
src/interfaces/ecpg/ecpglib/misc.c:491
↓ 36 callers
Method
getStatus
gpcontrib/gpcloud/include/s3key_reader.h:208
↓ 36 callers
Function
get_element_type
* get_element_type * * Given the type OID, get the typelem (InvalidOid if not an array type). * * NB: this only succeeds for "true" arrays having
src/backend/utils/cache/lsyscache.c:3359
↓ 36 callers
Function
out_grouping_b_U
src/backend/snowball/libstemmer/utilities.c:153
↓ 36 callers
Function
pg_class_ownercheck
* Ownership check for a relation (specified by OID). */
src/backend/catalog/aclchk.c:5378
↓ 36 callers
Function
sdata_from_svec
* This routine supplies a pointer to a SparseData derived from an SvecType. * The SvecType is a serialized structure with fixed memory allocations, s
gpcontrib/gp_sparse_vector/sparse_vector.h:82
↓ 36 callers
Function
tuplestore_gettupleslot
* tuplestore_gettupleslot - exported function to fetch a MinimalTuple * * If successful, put tuple in slot and return true; else, clear the slot *
src/backend/utils/sort/tuplestore.c:1202
↓ 35 callers
Function
ExplainCloseGroup
* Close a group of related objects. * Parameters must match the corresponding ExplainOpenGroup call. */
src/backend/commands/explain.c:5699
↓ 35 callers
Function
ExplainOpenGroup
* Open a group of related objects. * * objtype is the type of the group object, labelname is its label within * a containing object (if any). * *
src/backend/commands/explain.c:5636
↓ 35 callers
Method
IndexType
src/backend/gporca/libgpopt/include/gpopt/metadata/CIndexDescriptor.h:111
↓ 35 callers
Function
IsAutoVacuumWorkerProcess
src/backend/postmaster/autovacuum.c:3573
↓ 35 callers
Method
Key
gets the key of cached object
src/backend/gporca/libgpos/include/gpos/memory/CCacheEntry.h:83
↓ 35 callers
Method
MdIdOp
--------------------------------------------------------------------------- @function: CScalarOp::MdIdOp @doc: Scalar operator metadata id ---------
src/backend/gporca/libgpopt/src/operators/CScalarOp.cpp:80
↓ 35 callers
Function
churl_headers_append
gpcontrib/pxf_fdw/libchurl.c:181
↓ 35 callers
Function
errdetail_internal
contrib/interconnect/test/elog_mock.c:423
↓ 35 callers
Function
expression_tree_mutator
src/backend/nodes/nodeFuncs.c:2764
↓ 35 callers
Function
free_object_addresses
* Clean up when done with an ObjectAddresses array. */
src/backend/catalog/dependency.c:2873
↓ 35 callers
Function
gp_fatal_log
src/bin/pg_upgrade/util.c:278
↓ 35 callers
Function
http_error
send an error response */
src/bin/gpfdist/gpfdist.c:941
↓ 35 callers
Method
isSegmentPrimary
(self, current_role=False)
gpMgmt/bin/gppylib/gparray.py:271
↓ 35 callers
Function
pathkeys_contained_in
* pathkeys_contained_in * Common special case of compare_pathkeys: we just want to know * if keys2 are at least as well sorted as keys1. */
src/backend/optimizer/path/pathkeys.c:652
↓ 35 callers
Function
pqPutInt
* pqPutInt * write an integer of 2 or 4 bytes, converting from host byte order * to network byte order. */
src/interfaces/libpq/fe-misc.c:296
↓ 35 callers
Method
remove
(self, gppkg_filename)
gpMgmt/bin/gppylib/operations/test/test_package.py:282
↓ 35 callers
Function
run_command
(context, command)
gpMgmt/test/behave_utils/utils.py:67
↓ 35 callers
Function
simple_string_list_append
* Append a string to the list. * * The given string is copied, so it need not survive past the call. */
src/fe_utils/simple_list.c:62
↓ 34 callers
Function
GetAt
contrib/fuzzystrmatch/dmetaphone.c:324
↓ 34 callers
Function
GetMemoryChunkSpace
* GetMemoryChunkSpace * Given a currently-allocated chunk, determine the total space * it occupies (including all memory-allocation overhead). *
src/backend/utils/mmgr/mcxt.c:469
↓ 34 callers
Function
GpPolicyIsReplicated
* Returns true only if the policy is a replicated. */
src/backend/cdb/cdbcat.c:257
↓ 34 callers
Function
IsSystemRelation
* IsSystemRelation * True iff the relation is either a system catalog or a toast table. * See IsCatalogRelation for the exact definition of a syst
src/backend/catalog/catalog.c:172
↓ 34 callers
Function
PGTYPEStimestamp_to_asc
src/interfaces/ecpg/pgtypeslib/timestamp.c:271
↓ 34 callers
Function
PQconninfoFree
src/interfaces/libpq/fe-connect.c:6813
↓ 34 callers
Function
ResourceOwnerRelease
* ResourceOwnerRelease * Release all resources owned by a ResourceOwner and its descendants, * but don't delete the owner objects themselves. *
src/backend/utils/resowner/resowner.c:489
↓ 34 callers
Function
_dosmaperr
src/port/win32error.c:170
↓ 34 callers
Function
appendStringLiteralConn
* Convert a string value to an SQL string literal and append it to * the given buffer. Encoding and string syntax rules are as indicated * by curre
src/fe_utils/string_utils.c:466
↓ 34 callers
Method
begin
contrib/pax_storage/src/cpp/storage/micro_partition_iterator_manifest.cc:139
↓ 34 callers
Function
dsm_segment_address
* Get the address at which a dynamic shared memory segment is mapped. */
src/backend/storage/ipc/dsm.c:1060
↓ 34 callers
Function
get_attname
* get_attname * Given the relation id and the attribute number, return the "attname" * field from the attribute relation as a palloc'ed string. *
src/backend/utils/cache/lsyscache.c:974
↓ 34 callers
Function
j2date
src/backend/utils/adt/datetime.c:307
↓ 34 callers
Function
list_member
* Return true iff 'datum' is a member of the list. Equality is * determined via equal(), so callers should ensure that they pass a * Node as 'datum'
src/backend/nodes/list.c:627
↓ 34 callers
Function
log_output
(str)
src/backend/gporca/scripts/cal_bitmap_test.py:406
↓ 34 callers
Function
makeAlias
* makeAlias - * creates an Alias node * * NOTE: the given name is copied, but the colnames list (if any) isn't. */
src/backend/nodes/makefuncs.c:388
↓ 34 callers
Function
pg_cryptohash_free
* pg_cryptohash_free * * Free a hash context. */
src/common/cryptohash.c:227
↓ 34 callers
Function
pg_freeaddrinfo_all
* pg_freeaddrinfo_all - free addrinfo structures for IPv4, IPv6, or Unix * * Note: the ai_family field of the original hint structure must be passed
src/common/ip.c:87
← previous
next →
701–800 of 50,827, ranked by callers