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

Function dbms_sql_close_cursor

gpcontrib/orafce/dbms_sql.c:289–299  ·  view source on GitHub ↗

* PROCEDURE dbms_sql.close_cursor(c int) */

Source from the content-addressed store, hash-verified

287 * PROCEDURE dbms_sql.close_cursor(c int)
288 */
289Datum
290dbms_sql_close_cursor(PG_FUNCTION_ARGS)
291{
292 CursorData *c;
293
294 c = get_cursor(fcinfo, false);
295
296 close_cursor(c);
297
298 return (Datum) 0;
299}
300
301/*
302 * Print state of cursor - just for debug purposes

Callers

nothing calls this directly

Calls 2

get_cursorFunction · 0.85
close_cursorFunction · 0.70

Tested by

no test coverage detected