diff options
Diffstat (limited to 'psycopg/pqpath.h')
| -rw-r--r-- | psycopg/pqpath.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/psycopg/pqpath.h b/psycopg/pqpath.h index d55b0b6..e3cee11 100644 --- a/psycopg/pqpath.h +++ b/psycopg/pqpath.h @@ -33,10 +33,18 @@ extern int pq_fetch(cursorObject *curs); extern int pq_execute(cursorObject *curs, const char *query, int async); extern int pq_commit(connectionObject *conn); -extern int pq_abort_locked(connectionObject *conn); +extern int pq_abort_locked(connectionObject *conn, PGresult **pgres, + char **error); extern int pq_abort(connectionObject *conn); extern int pq_is_busy(connectionObject *conn); + extern void pq_set_critical(connectionObject *conn, const char *msg); extern PyObject *pq_resolve_critical(connectionObject *conn, int close); +extern int pq_execute_command_locked(connectionObject *conn, + const char *query, + PGresult **pgres, char **error); +extern void pq_complete_error(connectionObject *conn, PGresult **pgres, + char **error); + #endif /* !defined(PSYCOPG_PQPATH_H) */ |
