mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 00:46:33 +03:00
Further annotation to run cpychecker with higher --maxtrans
This commit is contained in:
parent
8bf9299c17
commit
f9cec90912
|
@ -632,6 +632,7 @@ pq_reset(connectionObject *conn)
|
|||
* The result is a new string allocated with malloc.
|
||||
*/
|
||||
|
||||
IGNORE_REFCOUNT /* segfault on higher --maxtrans */
|
||||
char *
|
||||
pq_get_guc_locked(
|
||||
connectionObject *conn, const char *param,
|
||||
|
@ -1144,6 +1145,7 @@ exit:
|
|||
return rv;
|
||||
}
|
||||
|
||||
IGNORE_REFCOUNT /* davidmalcolm/gcc-python-plugin#109 -- can't fix with TO_STATE */
|
||||
static PyObject *
|
||||
_make_column(connectionObject *conn, PGresult *pgres, int i)
|
||||
{
|
||||
|
@ -1315,6 +1317,7 @@ _read_rowcount(cursorObject *curs)
|
|||
}
|
||||
}
|
||||
|
||||
IGNORE_REFCOUNT /* segfault on higher --maxtrans */
|
||||
static int
|
||||
_pq_copy_in_v3(cursorObject *curs)
|
||||
{
|
||||
|
|
|
@ -166,6 +166,7 @@ typecast_array_tokenize(const char *str, Py_ssize_t strlength,
|
|||
return res;
|
||||
}
|
||||
|
||||
IGNORE_REFCOUNT /* davidmalcolm/gcc-python-plugin#109 -- can't fix with TO_STATE */
|
||||
RAISES_NEG static int
|
||||
typecast_array_scan(const char *str, Py_ssize_t strlength,
|
||||
PyObject *curs, PyObject *base, PyObject *array)
|
||||
|
|
Loading…
Reference in New Issue
Block a user