postgres.git / summary / log / commit / refs
commit 1540d3bf4d405278533377ba81dbbf1c857eaec0
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Thu May 10 17:07:56 2012 +0000
First released in: 9.2.0
PL/Python: Update incorrect comment
Jan UrbaĆski
src/pl/plpython/plpy_resultobject.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pl/plpython/plpy_resultobject.h b/src/pl/plpython/plpy_resultobject.h
index 1b37d1d0c0c..c5ba9998874 100644
--- a/src/pl/plpython/plpy_resultobject.h
+++ b/src/pl/plpython/plpy_resultobject.h
@@ -13,7 +13,7 @@ typedef struct PLyResultObject
PyObject_HEAD
/* HeapTuple *tuples; */
PyObject *nrows; /* number of rows returned by query */
- PyObject *rows; /* data rows, or None if no data returned */
+ PyObject *rows; /* data rows, or empty list if no data returned */
PyObject *status; /* query status, SPI_OK_*, or SPI_ERR_* */
TupleDesc tupdesc;
} PLyResultObject;
[parent: ffda90f3afe3]