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

Function errtablecolname

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

* errtablecolname --- stores schema_name, table_name and column_name * of a table column within the current errordata, where the column name is * given directly rather than extracted from the relation's catalog data. * * Don't use this directly unless errtablecol() is inconvenient for some * reason. This might possibly be needed during intermediate states in ALTER * TABLE, for instance. */

Source from the content-addressed store, hash-verified

6044 * TABLE, for instance.
6045 */
6046int
6047errtablecolname(Relation rel, const char *colname)
6048{
6049 errtable(rel);
6050 err_generic_string(PG_DIAG_COLUMN_NAME, colname);
6051
6052 return 0; /* return value does not matter */
6053}
6054
6055/*
6056 * errtableconstraint --- stores schema_name, table_name and constraint_name

Callers 1

errtablecolFunction · 0.85

Calls 2

errtableFunction · 0.85
err_generic_stringFunction · 0.50

Tested by

no test coverage detected