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

Function dbms_sql_is_open

gpcontrib/orafce/dbms_sql.c:254–262  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

252 * CREATE FUNCTION dbms_sql.is_open(c int) RETURNS bool;
253 */
254Datum
255dbms_sql_is_open(PG_FUNCTION_ARGS)
256{
257 CursorData *c;
258
259 c = get_cursor(fcinfo, false);
260
261 PG_RETURN_BOOL(c->assigned);
262}
263
264/*
265 * Release all sources assigned to cursor

Callers

nothing calls this directly

Calls 1

get_cursorFunction · 0.85

Tested by

no test coverage detected