summaryrefslogtreecommitdiff
path: root/psycopg/pqpath.c
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2019-03-17 18:45:25 +0000
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2019-03-17 18:45:25 +0000
commitdc5dd3052612fa79aa7416f100d982a5d8cb477b (patch)
treed5d38ea759a17c0dcf507a23cb5cf727b65c129a /psycopg/pqpath.c
parente4d365705aeb0c2f0f0877d7544c827e949dff37 (diff)
downloadpsycopg2-naming.tar.gz
Prefix 'psycopg_' changed to 'psyco_'naming
Diffstat (limited to 'psycopg/pqpath.c')
-rw-r--r--psycopg/pqpath.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/psycopg/pqpath.c b/psycopg/pqpath.c
index 843b57d..3aca0ed 100644
--- a/psycopg/pqpath.c
+++ b/psycopg/pqpath.c
@@ -657,7 +657,7 @@ pq_tpc_command_locked(
PyEval_RestoreThread(*tstate);
/* convert the xid into the postgres transaction_id and quote it. */
- if (!(etid = psycopg_escape_string(conn, tid, -1, NULL, NULL)))
+ if (!(etid = psyco_escape_string(conn, tid, -1, NULL, NULL)))
{ goto exit; }
/* prepare the command to the server */
@@ -1298,7 +1298,7 @@ _pq_copy_in_v3(cursorObject *curs)
if (ex) {
PyObject *str;
str = PyObject_Str(ex);
- str = psycopg_ensure_bytes(str);
+ str = psyco_ensure_bytes(str);
if (str) {
PyOS_snprintf(buf, sizeof(buf),
"error in .read() call: %s %s",
@@ -1374,7 +1374,7 @@ _pq_copy_out_v3(cursorObject *curs)
}
/* if the file is text we must pass it unicode. */
- if (-1 == (is_text = psycopg_is_text_file(curs->copyfile))) {
+ if (-1 == (is_text = psyco_is_text_file(curs->copyfile))) {
goto exit;
}