MCPcopy Create free account

hub / github.com/apache/cloudberry / functions

Functions50,827 in github.com/apache/cloudberry

↓ 262 callersFunctiontext_to_cstring
* text_to_cstring * * Create a palloc'd, null-terminated C string from a text value. * * We support being passed a compressed or toasted text valu
src/backend/utils/adt/varlena.c:221
↓ 261 callersFunctionerrmsg_internal
* errmsg_internal --- add a primary error message text to the current error * * This is exactly like errmsg() except that strings passed to errmsg_i
src/backend/utils/error/elog.c:1227
↓ 260 callersMethodInclude
--------------------------------------------------------------------------- @function: CColRefSet::Include @doc: Include a constant column ref in set
src/backend/gporca/libgpopt/src/base/CColRefSet.cpp:133
↓ 259 callersMethodDeriveOutputColumns
--------------------------------------------------------------------------- @function: CLogicalDML::DeriveOutputColumns @doc: Derive output columns
src/backend/gporca/libgpopt/src/operators/CLogicalDML.cpp:209
↓ 257 callersFunctioneq_s_b
src/backend/snowball/libstemmer/utilities.c:220
↓ 247 callersFunctionlist_free
* Free all the cells of the list, as well as the list itself. Any * objects that are pointed-to by the cells of the list are NOT * free'd. * * On
src/backend/nodes/list.c:1456
↓ 247 callersFunctionpalloc0
src/common/fe_memutils.c:121
↓ 246 callersFunctionDatumGetInt32
src/include/postgres.h:502
↓ 241 callersFunctionfmtId
* Quotes input string if it's not a legitimate SQL identifier as-is. * * Note that the returned string must be used before calling fmtId again, * s
src/fe_utils/string_utils.c:258
↓ 241 callersFunctionmakeString
* makeString * * Caller is responsible for passing a palloc'd string. */
src/backend/nodes/value.c:52
↓ 238 callersFunctionlappend_oid
* Append an OID to the specified list. See lappend() */
src/backend/nodes/list.c:371
↓ 237 callersMethodFind
--------------------------------------------------------------------------- @function: CWStringBase::Find @doc: Returns the index of the first occurr
src/backend/gporca/libgpos/src/string/CWStringBase.cpp:134
↓ 228 callersFunctionheap_getattr
---------------- * heap_getattr * * Extract an attribute of a heap tuple and return it as a Datum. * This works for either system or user attri
src/include/access/htup_details.h:776
↓ 227 callersMethodstrip
strip comments in the content
src/test/unit/mock/mocker.py:58
↓ 226 callersMethodPcr
--------------------------------------------------------------------------- @function: CColRefSetIter::Pcr @doc: Return colref of current position of
src/backend/gporca/libgpopt/src/base/CColRefSetIter.cpp:49
↓ 226 callersFunctionaclcheck_error
* Standardized reporting of aclcheck permissions failures. * * Note: we do not double-quote the %s's below, because many callers * supply strings t
src/backend/catalog/aclchk.c:3673
↓ 225 callersFunctionBufferGetBlockNumber
* BufferGetBlockNumber * Returns the block number associated with a buffer. * * Note: * Assumes that the buffer is valid and pinned, else the *
src/backend/storage/buffer/bufmgr.c:2912
↓ 225 callersMethodPmp
memory pool accessor
src/backend/gporca/libgpopt/include/gpopt/base/COptCtxt.h:138
↓ 223 callersFunctionMemoryContextAlloc
* MemoryContextAlloc * Allocate space within the specified context. * * This could be turned into a macro, but we'd have to import * nodes/memnod
src/backend/utils/mmgr/mcxt.c:1070
↓ 218 callersFunctionCatalogTupleUpdate
* CatalogTupleUpdate - do heap and indexing work for updating a catalog tuple * * Update the tuple identified by "otid", replacing it with the data
src/backend/catalog/indexing.c:301
↓ 217 callersFunctionPQfinish
* PQfinish: properly close a connection to the backend. Also frees * the PGconn data structure so it shouldn't be re-used after this. */
src/interfaces/libpq/fe-connect.c:4395
↓ 217 callersFunctioncstring_to_text
* cstring_to_text * * Create a text value from a null-terminated C string. * * The new text value is freshly palloc'd with a full-size VARHDR. */
src/backend/utils/adt/varlena.c:188
↓ 217 callersFunctionpqsignal
* Set up a signal handler, with SA_RESTART, for signal "signo" * * Returns the previous handler. * * NB: If called within a signal handler, race c
src/port/pqsignal.c:108
↓ 217 callersMethodread
gpcontrib/gpcloud/test/decompress_reader_test.cpp:23
↓ 214 callersFunctionpg_malloc
src/common/fe_memutils.c:46
↓ 211 callersMethodAdvance
--------------------------------------------------------------------------- @function: CBitSetIter::Advance @doc: Move to next bit -----------------
src/backend/gporca/libgpos/src/common/CBitSetIter.cpp:42
↓ 209 callersFunctionget_namespace_name
* get_namespace_name * Returns the name of a given namespace * * Returns a palloc'd copy of the string, or NULL if no such namespace. */
src/backend/utils/cache/lsyscache.c:4020
↓ 208 callersMethodCloseElement
--------------------------------------------------------------------------- @function: CXMLSerializer::CloseElement @doc: Write a closing tag for the
src/backend/gporca/libnaucrates/src/xml/CXMLSerializer.cpp:117
↓ 208 callersMethodOpenElement
--------------------------------------------------------------------------- @function: CXMLSerializer::OpenElement @doc: Write an opening tag for the
src/backend/gporca/libnaucrates/src/xml/CXMLSerializer.cpp:63
↓ 206 callersFunctionPQexec
* PQexec * send a query to the backend and package up the result in a PGresult * * If the query was not even sent, return NULL; conn->errorMessag
src/interfaces/libpq/fe-exec.c:2231
↓ 204 callersMethodId
id accessor
src/backend/gporca/libgpopt/include/gpopt/search/CJob.h:224
↓ 204 callersFunctionstrlcpy
* Copy src to string dst of size siz. At most siz-1 characters * will be copied. Always NUL terminates (unless siz == 0). * Returns strlen(src); i
src/port/strlcpy.c:44
↓ 203 callersFunctionrelation_close
---------------- * relation_close - close any relation * * If lockmode is not "NoLock", we then release the specified lock. * * Note that it i
src/backend/access/common/relation.c:232
↓ 201 callersFunctionbms_add_member
* bms_add_member - add a specified member to set * * Input set is modified or recycled! */
src/backend/nodes/bitmapset.c:734
↓ 201 callersFunctionlist_concat
* Concatenate list2 to the end of list1, and return list1. * * This is equivalent to lappend'ing each element of list2, in order, to list1. * list1
src/backend/nodes/list.c:529
↓ 200 callersFunctionlist_nth
* Return the pointer value contained in the n'th element of the * specified list. (List elements begin at 0.) */
src/include/nodes/pg_list.h:292
↓ 199 callersFunctionadd_size
* Add two Size values, checking for overflow */
src/backend/storage/ipc/shmem.c:534
↓ 199 callersFunctionappendBinaryStringInfo
* appendBinaryStringInfo * * Append arbitrary binary data to a StringInfo, allocating more space * if necessary. Ensures that a trailing null byte
src/common/stringinfo.c:242
↓ 196 callersFunctionXLogRegisterData
* Add data to the WAL record that's being constructed. * * The data is appended to the "main chunk", available at replay with * XLogRecGetData().
src/backend/access/transam/xloginsert.c:338
↓ 196 callersFunctionpstrdup
src/common/fe_memutils.c:139
↓ 192 callersMethodRetrieveType
--------------------------------------------------------------------------- @function: CMDAccessor::RetrieveType @doc: Retrieves the metadata descrip
src/backend/gporca/libgpopt/src/mdcache/CMDAccessor.cpp:677
↓ 191 callersFunctionCommandCounterIncrement
* CommandCounterIncrement */
src/backend/access/transam/xact.c:1298
↓ 191 callersFunctionbms_is_member
* bms_is_member - is X a member of A? */
src/backend/nodes/bitmapset.c:423
↓ 189 callersMethodEdt
src/backend/gporca/libgpopt/src/base/CDistributionSpecUniversal.cpp:10
↓ 183 callersFunctionGetLastError
contrib/udp2/ic_common/ic_utility.cpp:1349
↓ 179 callersFunctionInt16GetDatum
src/include/postgres.h:497
↓ 179 callersFunctionMetaphAdd
contrib/fuzzystrmatch/dmetaphone.c:377
↓ 178 callersFunctionFunctionCall2Coll
src/backend/utils/fmgr/fmgr.c:1149
↓ 177 callersFunctionGetCurrentTimestamp
* GetCurrentTimestamp -- get the current operating system time * * Result is in the form of a TimestampTz value, and is expressed to the * full pre
src/backend/utils/adt/timestamp.c:1932
↓ 174 callersFunctionPQgetisnull
PQgetisnull: * returns the null status of a field value. */
src/interfaces/libpq/fe-exec.c:3705
↓ 173 callersMethodGet
--------------------------------------------------------------------------- @function: CBitSet::Get @doc: Check if given bit is set ----------------
src/backend/gporca/libgpos/src/common/CBitSet.cpp:238
↓ 171 callersFunctionfmt
Do not use the (Args...) to forward args need use the __format__ to prevent potential type problems
contrib/pax_storage/src/cpp/comm/fmt.h:43
↓ 170 callersMethodDeactivateHandler
--------------------------------------------------------------------------- @function: CParseHandlerManager::DeactivateHandler @doc: Deactivates the
src/backend/gporca/libnaucrates/src/parser/CParseHandlerManager.cpp:120
↓ 169 callersMethodInsert
--------------------------------------------------------------------------- @function: CCTEReq::Insert @doc: Insert a new map entry. No entry with th
src/backend/gporca/libgpopt/src/base/CCTEReq.cpp:168
↓ 167 callersFunctionsuperuser
* The Postgres user running this command has Postgres superuser privileges */
src/backend/utils/misc/superuser.c:46
↓ 164 callersMethodOid
--------------------------------------------------------------------------- @function: CMDIdGPDB::Oid @doc: Returns the object id ------------------
src/backend/gporca/libnaucrates/src/md/CMDIdGPDB.cpp:219
↓ 164 callersFunctionlnext
* Get the address of the next cell after "c" within list "l", or NULL if none. */
src/include/nodes/pg_list.h:336
↓ 164 callersFunctionrepalloc
* repalloc * Adjust the size of a previously allocated chunk. */
src/backend/utils/mmgr/mcxt.c:1419
↓ 162 callersMethodGetMDName
accessors
src/backend/gporca/libnaucrates/include/naucrates/md/CMDName.h:51
↓ 162 callersMethodPmp
src/backend/gporca/server/src/unittest/gpopt/operators/CScalarIsDistinctFromTest.cpp:49
↓ 161 callersMethodGetBuffer
contrib/pax_storage/src/cpp/storage/columns/pax_column.cc:292
↓ 160 callersMethodget
(self)
gpMgmt/bin/gppylib/util/ssh_utils.py:55
↓ 159 callersFunctionwrite_config_file
(mode='insert', reuse_flag='',columns_flag='0',mapping='0',portNum='8081',database='reuse_gptest',host='localh
gpMgmt/bin/gpload_test/gpload2/TEST_REMOTE.py:44
↓ 158 callersFunctionCreateTemplateTupleDesc
* CreateTemplateTupleDesc * This function allocates an empty tuple descriptor structure. * * Tuple type ID information is initially set for an ano
src/backend/access/common/tupdesc.c:44
↓ 158 callersFunctiontermPQExpBuffer
* termPQExpBuffer(str) * free()s the data buffer but not the PQExpBufferData itself. * This is the inverse of initPQExpBuffer(). */
src/interfaces/libpq/pqexpbuffer.c:137
↓ 157 callersMethodBrush
Should not call Brush inside BlockBuffer or DataBuffer */
contrib/pax_storage/src/cpp/storage/pax_buffer.h:93
↓ 154 callersMethodPop
pop top element
src/backend/gporca/libgpos/include/gpos/common/CStack.h:75
↓ 153 callersFunctionNameListToString
* NameListToString * Utility routine to convert a qualified-name list into a string. * * This is used primarily to form error messages, and so we
src/backend/catalog/namespace.c:3212
↓ 153 callersFunctionpg_mblen
returns the byte length of a multibyte character */
src/backend/utils/mb/mbutils.c:1094
↓ 152 callersFunctionquote_identifier
* quote_identifier - Quote an identifier only if needed * * When quotes are needed, we palloc the required space; slightly * space-wasteful but w
src/backend/utils/adt/ruleutils.c:11901
↓ 151 callersFunctionequal
* equal * returns whether two nodes are equal */
src/backend/nodes/equalfuncs.c:3627
↓ 151 callersMethodget
contrib/pax_storage/src/cpp/cpp-stub/src/addr_pri.h:33
↓ 150 callersFunctioninitPQExpBuffer
* initPQExpBuffer * * Initialize a PQExpBufferData struct (with previously undefined contents) * to describe an empty string. */
src/interfaces/libpq/pqexpbuffer.c:98
↓ 149 callersMethodinitFromString
Factory method, initializes a Segment object from string representation. - Used when importing from file format. - Should
gpMgmt/bin/gppylib/gparray.py:194
↓ 146 callersFunctioncopy_data
(source='',target='')
gpMgmt/bin/gpload_test/gpload2/TEST_REMOTE.py:274
↓ 145 callersFunctionXLogRegisterBuffer
* Register a reference to a buffer with the WAL record being constructed. * This must be called for every page that the WAL-logged operation modifies
src/backend/access/transam/xloginsert.c:228
↓ 144 callersMethodget_filename
Returns the complete filename of the rpm
gpMgmt/bin/gppylib/operations/test/regress/test_package/__init__.py:229
↓ 144 callersFunctionlappend_int
* Append an integer to the specified list. See lappend() */
src/backend/nodes/list.c:353
↓ 144 callersFunctionmake_numeric_result
* make_numeric_result() - * * An interface to make_result_opt_error() without "have_error" argument. */
src/backend/utils/adt/numeric.c:7555
↓ 144 callersMethodrun
(self)
gpMgmt/bin/gppylib/operations/reload.py:224
↓ 143 callersFunctionpg_free
src/common/fe_memutils.c:104
↓ 143 callersFunctionpushJsonbValue
* Push JsonbValue into JsonbParseState. * * Used when parsing JSON tokens to form Jsonb, or when converting an in-memory * JsonbValue to a Jsonb.
src/backend/utils/adt/jsonb_util.c:565
↓ 142 callersFunctionTransactionIdPrecedes
* TransactionIdPrecedes --- is id1 logically < id2? */
src/backend/access/transam/transam.c:322
↓ 142 callersFunctiondefGetString
* Extract a string value (otherwise uninterpreted) from a DefElem. */
src/backend/commands/define.c:48
↓ 142 callersMethodfind
* findConnByHeader * Find the corresponding connection given a pkt header information. * * With the new mirroring scheme, the interconnect is no
contrib/udp2/ic_common/udp2/ic_udp2.cpp:566
↓ 142 callersMethodrun
(self, validateAfter=False)
gpMgmt/bin/gppylib/commands/unix.py:260
↓ 141 callersFunctionInt64GetDatum
src/backend/utils/fmgr/fmgr.c:1703
↓ 141 callersFunctionReleaseBuffer
* ReleaseBuffer -- release the pin on a buffer */
src/backend/storage/buffer/bufmgr.c:3980
↓ 140 callersFunctionMemoryContextReset
* MemoryContextReset * Release all space allocated within a context and delete all its * descendant contexts (but not the named context itself).
src/backend/utils/mmgr/mcxt.c:167
↓ 139 callersMethodgetSegmentHostName
Returns the actual `hostname` for the host Note: use getSegmentAddress for the network address to use
gpMgmt/bin/gppylib/gparray.py:315
↓ 138 callersFunctionlist_head
Fetch address of list's first cell; NULL if empty list */
src/include/nodes/pg_list.h:124
↓ 137 callersFunctionXLogBeginInsert
* Begin constructing a WAL record. This must be called before the * XLogRegister* functions and XLogInsert(). */
src/backend/access/transam/xloginsert.c:131
↓ 137 callersFunctionhash_seq_init
* hash_seq_init/_search/_term * Sequentially search through hash table and return * all the elements one by one, return NULL when no more. * *
src/backend/utils/hash/dynahash.c:1423
↓ 136 callersMethodEquals
deep equality of expression arrays
src/backend/gporca/libgpopt/src/base/CUtils.cpp:1467
↓ 136 callersFunctionbms_is_subset
* bms_is_subset - is A a subset of B? */
src/backend/nodes/bitmapset.c:311
↓ 135 callersFunctionXLogInsert
* Insert an XLOG record having the specified RMID and info bytes, with the * body of the record being the data and buffer references registered earli
src/backend/access/transam/xloginsert.c:432
↓ 135 callersFunctionappendPQExpBufferChar
* appendPQExpBufferChar * Append a single byte to str. * Like appendPQExpBuffer(str, "%c", ch) but much faster. */
src/interfaces/libpq/pqexpbuffer.c:386
↓ 134 callersFunctionbms_is_empty
* bms_is_empty - is a set empty? * * This is even faster than bms_membership(). */
src/backend/nodes/bitmapset.c:699
↓ 134 callersFunctionhash_seq_search
src/backend/utils/hash/dynahash.c:1434
↓ 134 callersFunctionpg_strncasecmp
* Case-independent comparison of two not-necessarily-null-terminated strings. * At most n bytes will be examined from each string. */
src/port/pgstrcasecmp.c:68
← previousnext →101–200 of 50,827, ranked by callers