diff options
Diffstat (limited to 'psycopg/psycopg.h')
-rw-r--r-- | psycopg/psycopg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/psycopg/psycopg.h b/psycopg/psycopg.h index 82b4293..438d763 100644 --- a/psycopg/psycopg.h +++ b/psycopg/psycopg.h @@ -128,7 +128,8 @@ RAISES HIDDEN PyObject *psyco_set_error(PyObject *exc, cursorObject *curs, const HIDDEN char *psycopg_escape_string(connectionObject *conn, const char *from, Py_ssize_t len, char *to, Py_ssize_t *tolen); -HIDDEN char *psycopg_escape_identifier_easy(const char *from, Py_ssize_t len); +HIDDEN char *psycopg_escape_identifier(connectionObject *conn, + const char *str, size_t len); HIDDEN int psycopg_strdup(char **to, const char *from, Py_ssize_t len); HIDDEN int psycopg_is_text_file(PyObject *f); |