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

Function dbms_sql_fetch_rows

gpcontrib/orafce/dbms_sql.c:1422–1430  ·  view source on GitHub ↗

* CREATE FUNCTION dbms_sql.fetch_rows(c int) RETURNS int; */

Source from the content-addressed store, hash-verified

1420 * CREATE FUNCTION dbms_sql.fetch_rows(c int) RETURNS int;
1421 */
1422Datum
1423dbms_sql_fetch_rows(PG_FUNCTION_ARGS)
1424{
1425 CursorData *c;
1426
1427 c = get_cursor(fcinfo, true);
1428
1429 PG_RETURN_INT32(fetch_rows(c, false));
1430}
1431
1432/*
1433 * CREATE FUNCTION dbms_sql.execute_and_fetch(c int, exact bool DEFAULT false) RETURNS int;

Callers

nothing calls this directly

Calls 2

get_cursorFunction · 0.85
fetch_rowsFunction · 0.85

Tested by

no test coverage detected