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

Function errtableconstraint

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

* errtableconstraint --- stores schema_name, table_name and constraint_name * of a table-related constraint within the current errordata. */

Source from the content-addressed store, hash-verified

6057 * of a table-related constraint within the current errordata.
6058 */
6059int
6060errtableconstraint(Relation rel, const char *conname)
6061{
6062 errtable(rel);
6063 err_generic_string(PG_DIAG_CONSTRAINT_NAME, conname);
6064
6065 return 0; /* return value does not matter */
6066}
6067
6068
6069/*

Callers 11

comparetup_index_btreeFunction · 0.85
RI_FKey_checkFunction · 0.85
RI_Initial_CheckFunction · 0.85
ri_ReportViolationFunction · 0.85
ATRewriteTableFunction · 0.85
ATPrepChangePersistenceFunction · 0.85
_bt_check_uniqueFunction · 0.85
_bt_check_third_pageFunction · 0.85
ExecConstraintsFunction · 0.85

Calls 2

errtableFunction · 0.85
err_generic_stringFunction · 0.50

Tested by

no test coverage detected