Home
last modified time | relevance | path

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

/PHP-7.1/ext/pdo_pgsql/
H A Dpgsql_statement.c111 if (S->cursor_name) { in pgsql_stmt_dtor()
117 spprintf(&q, 0, "CLOSE %s", S->cursor_name); in pgsql_stmt_dtor()
122 efree(S->cursor_name); in pgsql_stmt_dtor()
123 S->cursor_name = NULL; in pgsql_stmt_dtor()
149 if (S->cursor_name) { in pgsql_stmt_execute()
153 spprintf(&q, 0, "CLOSE %s", S->cursor_name); in pgsql_stmt_execute()
158 …spprintf(&q, 0, "DECLARE %s SCROLL CURSOR WITH HOLD FOR %s", S->cursor_name, stmt->active_query_st… in pgsql_stmt_execute()
174 spprintf(&q, 0, "FETCH FORWARD 0 FROM %s", S->cursor_name); in pgsql_stmt_execute()
422 if (S->cursor_name) { in pgsql_stmt_fetch()
443 spprintf(&q, 0, "FETCH %s FROM %s", ori_str, S->cursor_name); in pgsql_stmt_fetch()
H A Dphp_pdo_pgsql_int.h65 char *cursor_name; member
H A Dpgsql_driver.c252 if (S->cursor_name) { in pgsql_handle_preparer()
253 efree(S->cursor_name); in pgsql_handle_preparer()
255 spprintf(&S->cursor_name, 0, "pdo_crsr_%08x", ++H->stmt_counter); in pgsql_handle_preparer()

Completed in 11 milliseconds