diff --git a/psycopg/connection_int.c b/psycopg/connection_int.c index 17509cfe..7875b13a 100644 --- a/psycopg/connection_int.c +++ b/psycopg/connection_int.c @@ -435,6 +435,7 @@ conn_set_fast_codec(connectionObject *self) * * Optionally return the clean version of the postgres encoding too */ +IGNORE_REFCOUNT /* bug davidmalcolm/gcc-python-plugin#155 */ PyObject * conn_pgenc_to_pyenc(const char *encoding, char **clean_encoding) {