Home
last modified time | relevance | path

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

/PHP-8.0/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, stmt->active_query_st… in pgsql_stmt_execute()
172 spprintf(&q, 0, "FETCH FORWARD 0 FROM %s", S->cursor_name); in pgsql_stmt_execute()
424 if (S->cursor_name) { in pgsql_stmt_fetch()
445 spprintf(&q, 0, "FETCH %s FROM %s", ori_str, S->cursor_name); in pgsql_stmt_fetch()
H A Dphp_pdo_pgsql_int.h62 char *cursor_name; member
H A Dpgsql_driver.c268 if (S->cursor_name) { in pgsql_handle_preparer()
269 efree(S->cursor_name); in pgsql_handle_preparer()
271 spprintf(&S->cursor_name, 0, "pdo_crsr_%08x", ++H->stmt_counter); in pgsql_handle_preparer()

Completed in 12 milliseconds