Home
last modified time | relevance | path

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

/PHP-5.4/ext/pdo_pgsql/
H A Dpgsql_statement.c96 if (S->cursor_name) { in pgsql_stmt_dtor()
101 spprintf(&q, 0, "CLOSE %s", S->cursor_name); in pgsql_stmt_dtor()
105 efree(S->cursor_name); in pgsql_stmt_dtor()
106 S->cursor_name = NULL; in pgsql_stmt_dtor()
132 if (S->cursor_name) { in pgsql_stmt_execute()
136 spprintf(&q, 0, "CLOSE %s", S->cursor_name); in pgsql_stmt_execute()
141 …spprintf(&q, 0, "DECLARE %s SCROLL CURSOR WITH HOLD FOR %s", S->cursor_name, stmt->active_query_st… in pgsql_stmt_execute()
156 spprintf(&q, 0, "FETCH FORWARD 0 FROM %s", S->cursor_name); in pgsql_stmt_execute()
387 if (S->cursor_name) { in pgsql_stmt_fetch()
403 spprintf(&q, 0, "FETCH %s FROM %s", ori_str, S->cursor_name); in pgsql_stmt_fetch()
H A Dphp_pdo_pgsql_int.h68 char *cursor_name; member
H A Dpgsql_driver.c233 if (S->cursor_name) { in pgsql_handle_preparer()
234 efree(S->cursor_name); in pgsql_handle_preparer()
236 spprintf(&S->cursor_name, 0, "pdo_crsr_%08x", ++H->stmt_counter); in pgsql_handle_preparer()

Completed in 8 milliseconds