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

Function internalerrposition

src/backend/utils/error/elog.c:1541–1550  ·  view source on GitHub ↗

* internalerrposition --- add internal cursor position to the current error */

Source from the content-addressed store, hash-verified

1539 * internalerrposition --- add internal cursor position to the current error
1540 */
1541void
1542internalerrposition(int cursorpos)
1543{
1544 ErrorData *edata = &errordata[errordata_stack_depth];
1545
1546 /* we don't bother incrementing recursion_depth */
1547 CHECK_STACK_DEPTH();
1548
1549 edata->internalpos = cursorpos;
1550}
1551
1552/*
1553 * internalerrquery --- add internal query text to the current error

Callers 8

PLy_elog_implFunction · 0.50
import_error_callbackFunction · 0.50
sql_exec_error_callbackFunction · 0.50
_SPI_error_callbackFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected