Home
last modified time | relevance | path

Searched refs:cursor_name (Results 1 – 3 of 3) sorted by relevance

/PHP-8.1/ext/pdo_pgsql/
H A Dpgsql_statement.c107 if (S->cursor_name) { in pgsql_stmt_dtor()
113 spprintf(&q, 0, "CLOSE %s", S->cursor_name); in pgsql_stmt_dtor()
118 efree(S->cursor_name); in pgsql_stmt_dtor()
119 S->cursor_name = NULL; in pgsql_stmt_dtor()
147 if (S->cursor_name) { in pgsql_stmt_execute()
151 spprintf(&q, 0, "CLOSE %s", S->cursor_name); in pgsql_stmt_execute()
156 …spprintf(&q, 0, "DECLARE %s SCROLL CURSOR WITH HOLD FOR %s", S->cursor_name, ZSTR_VAL(stmt->active… in pgsql_stmt_execute()
172 spprintf(&q, 0, "FETCH FORWARD 0 FROM %s", S->cursor_name); in pgsql_stmt_execute()
423 if (S->cursor_name) { in pgsql_stmt_fetch()
444 spprintf(&q, 0, "FETCH %s FROM %s", ori_str, S->cursor_name); in pgsql_stmt_fetch()
H A Dphp_pdo_pgsql_int.h59 char *cursor_name; member
H A Dpgsql_driver.c265 if (S->cursor_name) { in pgsql_handle_preparer()
266 efree(S->cursor_name); in pgsql_handle_preparer()
268 spprintf(&S->cursor_name, 0, "pdo_crsr_%08x", ++H->stmt_counter); in pgsql_handle_preparer()

Completed in 17 milliseconds