MCPcopy Create free account
hub / github.com/apache/cloudberry / errtable

Function errtable

src/backend/utils/cache/relcache.c:6005–6013  ·  view source on GitHub ↗

* errtable --- stores schema_name and table_name of a table * within the current errordata. */

Source from the content-addressed store, hash-verified

6003 * within the current errordata.
6004 */
6005int
6006errtable(Relation rel)
6007{
6008 err_generic_string(PG_DIAG_SCHEMA_NAME,
6009 get_namespace_name(RelationGetNamespace(rel)));
6010 err_generic_string(PG_DIAG_TABLE_NAME, RelationGetRelationName(rel));
6011
6012 return 0; /* return value does not matter */
6013}
6014
6015/*
6016 * errtablecol --- stores schema_name, table_name and column_name

Callers 8

errtablecolnameFunction · 0.85
errtableconstraintFunction · 0.85
ATRewriteTableFunction · 0.85
ATPrepChangePersistenceFunction · 0.85
ExecFindPartitionFunction · 0.85

Calls 2

get_namespace_nameFunction · 0.85
err_generic_stringFunction · 0.50

Tested by

no test coverage detected