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

Function location_lineno_init

src/pl/plpgsql/src/pl_scanner.c:564–571  ·  view source on GitHub ↗

initialize or reset the state for plpgsql_location_to_lineno */

Source from the content-addressed store, hash-verified

562
563/* initialize or reset the state for plpgsql_location_to_lineno */
564static void
565location_lineno_init(void)
566{
567 cur_line_start = scanorig;
568 cur_line_num = 1;
569
570 cur_line_end = strchr(cur_line_start, '\n');
571}
572
573/* return the most recently computed lineno */
574int

Callers 2

plpgsql_scanner_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected