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
↓ 22 callers
Function
CheckTableNotInUse
* Disallow ALTER TABLE (and similar commands) when the current backend has * any open reference to the target table besides the one just acquired by
src/backend/commands/tablecmds.c:4707
↓ 22 callers
Function
CpusetToBitset
* Parse cpuset to bitset * If cpuset is "1,3-5", Bitmapset 1,3,4,5 are set. */
src/backend/utils/resgroup/resgroup.c:2929
↓ 22 callers
Function
CreateDestReceiver
---------------- * CreateDestReceiver - return appropriate receiver function set for dest * ---------------- */
src/backend/tcop/dest.c:115
↓ 22 callers
Function
CreateTestSchemaTypes
contrib/pax_storage/src/cpp/pax_gtest_helper.cc:226
↓ 22 callers
Function
ECPGget_var
src/interfaces/ecpg/ecpglib/misc.c:587
↓ 22 callers
Function
ExecStoreMinimalTuple
* Store a minimal tuple into TTSOpsMinimalTuple type slot. * * If the target slot is not guaranteed to be TTSOpsMinimalTuple type slot, * use the,
src/backend/executor/execTuples.c:1462
↓ 22 callers
Function
FPge
src/include/utils/geo_decls.h:76
↓ 22 callers
Method
FScalarChild
--------------------------------------------------------------------------- @function: CExpressionHandle::FScalarChild @doc: Check if a given child i
src/backend/gporca/libgpopt/src/operators/CExpressionHandle.cpp:858
↓ 22 callers
Function
Float8GetDatum
src/backend/utils/fmgr/fmgr.c:1712
↓ 22 callers
Function
FreeTupleDesc
* Free a TupleDesc including all substructure */
src/backend/access/common/tupdesc.c:308
↓ 22 callers
Function
GetCatalogSnapshot
* GetCatalogSnapshot * Get a snapshot that is sufficiently up-to-date for scan of the * system catalog with the specified OID. */
src/backend/utils/time/snapmgr.c:443
↓ 22 callers
Method
GetNumDistinct
sum of number of distinct values from buckets
src/backend/gporca/libnaucrates/src/statistics/CHistogram.cpp:498
↓ 22 callers
Function
GetOptS3
GetOptS3 returns first value according to given key. key=value pair are separated by whitespace.
gpcontrib/gpcloud/src/s3utils.cpp:437
↓ 22 callers
Function
GetTopTransactionIdIfAny
* GetTopTransactionIdIfAny * * This will return the XID of the main transaction, if one is assigned. * It will return InvalidTransactionId if we ar
src/backend/access/transam/xact.c:534
↓ 22 callers
Method
IsError
contrib/pax_storage/src/cpp/storage/columns/pax_compress.cc:102
↓ 22 callers
Function
LOCK_PRINT
src/backend/storage/lmgr/lock.c:373
↓ 22 callers
Method
MakeBucketCopy
--------------------------------------------------------------------------- @function: CBucket::MakeBucketCopy @doc: Copy of bucket. Points are share
src/backend/gporca/libnaucrates/src/statistics/CBucket.cpp:443
↓ 22 callers
Function
MemoryContextSetParent
* MemoryContextSetParent * Change a context to belong to a new parent (or no parent). * * We provide this as an API function because it is sometim
src/backend/utils/mmgr/mcxt.c:393
↓ 22 callers
Function
PQcmdStatus
src/interfaces/libpq/fe-exec.c:3557
↓ 22 callers
Function
PathNameOpenFile
* Open a file with PathNameOpenFilePerm() and pass default file mode for the * fileMode parameter. */
src/backend/storage/file/fd.c:1517
↓ 22 callers
Method
PdsRequired
--------------------------------------------------------------------------- @function: CPhysicalDML::PdsRequired @doc: Compute required distribution
src/backend/gporca/libgpopt/src/operators/CPhysicalDML.cpp:245
↓ 22 callers
Method
Pmda
metadata accessor
src/backend/gporca/libgpopt/include/gpopt/base/COptCtxt.h:234
↓ 22 callers
Function
ReorderBufferTXNByXid
* Return the ReorderBufferTXN from the given buffer, specified by Xid. * If create is true, and a transaction doesn't already exist, create it * (wi
src/backend/replication/logical/reorderbuffer.c:606
↓ 22 callers
Method
RetrieveFunc
--------------------------------------------------------------------------- @function: CMDAccessor::RetrieveFunc @doc: Retrieves the metadata descrip
src/backend/gporca/libgpopt/src/mdcache/CMDAccessor.cpp:779
↓ 22 callers
Function
SPI_exec
Obsolete version of SPI_execute */
src/backend/executor/spi.c:657
↓ 22 callers
Method
SetSrcBuffer
contrib/pax_storage/src/cpp/storage/columns/pax_dict_encoding.cc:123
↓ 22 callers
Function
UnlockRelationForExtension
* UnlockRelationForExtension */
src/backend/storage/lmgr/lmgr.c:489
↓ 22 callers
Function
_hash_getbuf
* _hash_getbuf() -- Get a buffer by block number for read or write. * * 'access' must be HASH_READ, HASH_WRITE, or HASH_NOLOCK. * 'flags' is a bi
src/backend/access/hash/hashpage.c:68
↓ 22 callers
Function
append_string_to_pipe_chunk
* Append a string (terminated by '\0') to the GpPipeProtoChunk. * * If GpPipeProtoChunk does not have space for the given string, * this function a
src/backend/utils/error/elog.c:3720
↓ 22 callers
Function
date2j
src/interfaces/ecpg/pgtypeslib/dt_common.c:580
↓ 22 callers
Function
dosqlprint
src/interfaces/ecpg/test/expected/compat_informix-test_informix.c:28
↓ 22 callers
Function
eval_const_expressions
-------------------- * eval_const_expressions * * Reduce any recognizably constant subexpressions of the given * expression tree, for example "2 +
src/backend/optimizer/util/clauses.c:2298
↓ 22 callers
Function
exec_prog
* exec_prog() * Execute an external program with stdout/stderr redirected, and report * errors * * Formats a command from the given argument lis
src/bin/pg_upgrade/exec.c:90
↓ 22 callers
Function
exec_rt_fetch
src/include/executor/executor.h:616
↓ 22 callers
Function
findCmdInPath
(cmd, missing_ok=False)
gpMgmt/bin/gppylib/commands/base.py:652
↓ 22 callers
Function
fix_upper_expr
* fix_upper_expr * Modifies an expression tree so that all Var nodes reference outputs * of a subplan. Also looks for Aggref nodes that should be
src/backend/optimizer/plan/setrefs.c:3533
↓ 22 callers
Method
getCompletedItems
(self)
gpMgmt/bin/gppylib/commands/base.py:147
↓ 22 callers
Method
getSegmentList
Return a list of SegmentPair objects for all segments in the array
gpMgmt/bin/gppylib/gparray.py:1126
↓ 22 callers
Function
get_host_list
Returns a tuple which consists of the standby and segment hosts comprising the cluster. @return: tuple containing the standby and segmen
gpMgmt/bin/gppylib/operations/test/regress/test_package/__init__.py:65
↓ 22 callers
Function
get_opclass_family
* get_opclass_family * * Returns the OID of the operator family the opclass belongs to. */
src/backend/utils/cache/lsyscache.c:1355
↓ 22 callers
Function
get_relname_relid
* get_relname_relid * Given name and namespace of a relation, look up the OID. * * Returns InvalidOid if there is no such relation. */
src/backend/utils/cache/lsyscache.c:2539
↓ 22 callers
Function
get_rule_expr_paren
* get_rule_expr_paren - deparse expr using get_rule_expr, * embracing the string with parentheses if necessary for prettyPrint. * * Never embrace i
src/backend/utils/adt/ruleutils.c:8438
↓ 22 callers
Function
hash_any_extended
src/include/common/hashfn.h:36
↓ 22 callers
Function
ic_free
contrib/udp2/ic_common/udp2/ic_udp2_internal.hpp:351
↓ 22 callers
Function
in_grouping_b
src/backend/snowball/libstemmer/utilities.c:179
↓ 22 callers
Function
index_rescan
---------------- * index_rescan - (re)start a scan of an index * * During a restart, the caller may specify a new set of scankeys and/or * order
src/backend/access/index/indexam.c:298
↓ 22 callers
Function
ltree_compare
contrib/ltree/ltree_op.c:41
↓ 22 callers
Function
mm_alloc
malloc + error check */
src/interfaces/ecpg/preproc/type.c:12
↓ 22 callers
Function
performDeletion
* performDeletion: attempt to drop the specified object. If CASCADE * behavior is specified, also drop any dependent objects (recursively). * If RE
src/backend/catalog/dependency.c:347
↓ 22 callers
Function
pg_atomic_add_fetch_u32
* pg_atomic_add_fetch_u32 - atomically add to variable * * Returns the value of ptr after the arithmetic operation. * * Full barrier semantics. *
src/include/port/atomics.h:385
↓ 22 callers
Function
pg_atomic_sub_fetch_u32
* pg_atomic_sub_fetch_u32 - atomically subtract from variable * * Returns the value of ptr after the arithmetic operation. Note that sub_ may * not
src/include/port/atomics.h:400
↓ 22 callers
Function
pg_mbstrlen_with_len
returns the length (counted in wchars) of a multibyte string * (not necessarily NULL terminated) */
src/backend/utils/mb/mbutils.c:1128
↓ 22 callers
Function
pg_usleep
* pg_usleep --- delay the specified number of microseconds. * * NOTE: although the delay is specified in microseconds, the effective * resolution i
src/port/pgsleep.c:46
↓ 22 callers
Function
pgstat_fetch_stat_tabentry
---------- * pgstat_fetch_stat_tabentry() - * * Support function for the SQL-callable pgstat* functions. Returns * the collected statistics for on
src/backend/postmaster/pgstat.c:2759
↓ 22 callers
Function
pq_getmsgend
-------------------------------- * pq_getmsgend - verify message fully consumed * -------------------------------- */
src/backend/libpq/pqformat.c:636
↓ 22 callers
Function
preprocess_expression
* preprocess_expression * Do subquery_planner's preprocessing work for an expression, * which can be a targetlist, a WHERE clause (including JOIN/
src/backend/optimizer/plan/planner.c:1404
↓ 22 callers
Function
quote_unident
This method returns a new string replacing "" with ", and removing the " at the start and end of the string.
gpMgmt/bin/gpload.py:705
↓ 22 callers
Function
recordDependencyOnCurrentExtension
* If we are executing a CREATE EXTENSION operation, mark the given object * as being a member of the extension, or check that it already is one. * O
src/backend/catalog/pg_depend.c:187
↓ 22 callers
Function
status
* Print "doing something ..." --- supplied text should not end with newline */
src/test/regress/pg_regress.c:291
↓ 22 callers
Method
write
gpcontrib/gpcloud/test/compress_writer_test.cpp:16
↓ 21 callers
Function
BTreeTupleGetHeapTID
* Get tiebreaker heap TID attribute, if any. * * This returns the first/lowest heap TID in the case of a posting list tuple. */
src/include/access/nbtree.h:630
↓ 21 callers
Function
ChangeVarNodes
src/backend/rewrite/rewriteManip.c:611
↓ 21 callers
Function
DatumStreamVersion_String
src/backend/utils/datumstream/datumstreamblock.c:5522
↓ 21 callers
Method
Delete
contrib/pax_storage/src/cpp/storage/pax.cc:686
↓ 21 callers
Function
ExecInitExprRec
* Append the steps necessary for the evaluation of node to ExprState->steps, * possibly recursing into sub-expressions of node. * * node - expressi
src/backend/executor/execExpr.c:911
↓ 21 callers
Function
Int32ToDatum
contrib/pax_storage/src/cpp/comm/cbdb_wrappers.h:137
↓ 21 callers
Function
LWLockInitialize
* LWLockInitialize - initialize a new lwlock; it's initially unlocked */
src/backend/storage/lmgr/lwlock.c:741
↓ 21 callers
Function
PQmblenBounded
* Returns the byte length of the character beginning at s, using the * specified encoding; but not more than the distance to end of string. */
src/interfaces/libpq/fe-misc.c:1305
↓ 21 callers
Function
PQsendQueryParams
* PQsendQueryParams * Like PQsendQuery, but use extended query protocol so we can pass parameters */
src/interfaces/libpq/fe-exec.c:1471
↓ 21 callers
Function
PageGetHeapFreeSpace
* PageGetHeapFreeSpace * Returns the size of the free (allocatable) space on a page, * reduced by the space needed for a new line pointer. * * T
src/backend/storage/page/bufpage.c:987
↓ 21 callers
Method
Pcomp
comparator
src/backend/gporca/libgpopt/include/gpopt/base/COptCtxt.h:255
↓ 21 callers
Method
PppsRequired
src/backend/gporca/libgpopt/src/operators/CPhysical.cpp:992
↓ 21 callers
Function
ReadCommonScan
* ReadCommonScan * Assign the basic stuff of all nodes that inherit from Scan */
src/backend/nodes/readfuncs.c:1882
↓ 21 callers
Function
ReleaseCatCacheList
* ReleaseCatCacheList * * Decrement the reference count of a catcache list. */
src/backend/utils/cache/catcache.c:1848
↓ 21 callers
Function
ResetUsage
src/backend/tcop/postgres.c:6267
↓ 21 callers
Method
RetrieveRel
--------------------------------------------------------------------------- @function: CTranslatorRelcacheToDXL::RetrieveRel @doc: Retrieve a relatio
src/backend/gpopt/translate/CTranslatorRelcacheToDXL.cpp:478
↓ 21 callers
Function
SetVariableHooks
* Attach substitute and/or assign hook functions to the named variable. * If you need only one hook, pass NULL for the other. * * If the variable d
src/bin/psql/variables.c:314
↓ 21 callers
Method
TranslateDXLToScalar
--------------------------------------------------------------------------- @function: CTranslatorDXLToScalar::TranslateDXLToScalar @doc: Translates
src/backend/gpopt/translate/CTranslatorDXLToScalar.cpp:106
↓ 21 callers
Method
UlOpId
the id of the operator
src/backend/gporca/libgpopt/include/gpopt/operators/COperator.h:312
↓ 21 callers
Function
WriteInt
src/bin/pg_dump/pg_backup_archiver.c:2067
↓ 21 callers
Function
WriteStr
src/bin/pg_dump/pg_backup_archiver.c:2125
↓ 21 callers
Function
_outScanInfo
* print the basic stuff of all nodes that inherit from Scan */
src/backend/nodes/outfuncs.c:423
↓ 21 callers
Method
add
* connAddHash * Add a connection to the hash table * * Note: we want to add a connection to the hashtable if it isn't * already there ... so we
contrib/udp2/ic_common/udp2/ic_udp2.cpp:470
↓ 21 callers
Method
add
Add a host to the hostlist.
gpMgmt/bin/gppylib/util/ssh_utils.py:58
↓ 21 callers
Function
bms_intersect
* bms_intersect - set intersection */
src/backend/nodes/bitmapset.c:255
↓ 21 callers
Function
cdbpathlocus_is_valid
* cdbpathlocus_is_valid * * Returns true if locus appears structurally valid. */
src/backend/cdb/cdbpathlocus.c:1179
↓ 21 callers
Function
clauselist_selectivity
* clauselist_selectivity - * Compute the selectivity of an implicitly-ANDed list of boolean * expression clauses. The list can be empty, in whi
src/backend/optimizer/path/clausesel.c:129
↓ 21 callers
Function
closedir
src/port/dirent.c:122
↓ 21 callers
Function
cmp_numerics
src/backend/utils/adt/numeric.c:2146
↓ 21 callers
Method
doTest
(self, num, query='')
gpMgmt/bin/gpload_test/gpload2/TEST_REMOTE.py:353
↓ 21 callers
Function
errmsg_internal
contrib/interconnect/test/elog_mock.c:396
↓ 21 callers
Function
gdebug
src/bin/gpfdist/gpfdist.c:3085
↓ 21 callers
Method
get
* RxBufferPool::get * Get a receive buffer. * * SHOULD BE CALLED WITH ic_control_info.lock *LOCKED* * * NOTE: This function MUST NOT contain el
contrib/udp2/ic_common/udp2/ic_udp2.cpp:966
↓ 21 callers
Function
is_orclause
Is clause an OR clause? */
src/include/nodes/nodeFuncs.h:105
↓ 21 callers
Function
mapred_free
gpcontrib/gpmapreduce/src/mapred.c:130
↓ 21 callers
Function
out_grouping_b
src/backend/snowball/libstemmer/utilities.c:203
↓ 21 callers
Function
pg_char_to_encoding
* Search encoding by encoding name * * Returns encoding ID, or -1 if not recognized */
src/common/encnames.c:549
↓ 21 callers
Function
pg_newlocale_from_collation
* Create a locale_t from a collation OID. Results are cached for the * lifetime of the backend. Thus, do not free the result with freelocale(). *
src/backend/utils/adt/pg_locale.c:1468
↓ 21 callers
Function
pqTraceOutputInt16
* pqTraceOutputInt16: output a 2-byte integer message to the log */
src/interfaces/libpq/fe-trace.c:124
↓ 21 callers
Function
show_scan_qual
* Show a qualifier expression for a scan plan node */
src/backend/commands/explain.c:3131
← previous
next →
1,201–1,300 of 50,827, ranked by callers