summaryrefslogtreecommitdiff
path: root/src/pl/plpython/plpy_resultobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pl/plpython/plpy_resultobject.h')
-rw-r--r--src/pl/plpython/plpy_resultobject.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pl/plpython/plpy_resultobject.h b/src/pl/plpython/plpy_resultobject.h
index 719828a3ef..1b37d1d0c0 100644
--- a/src/pl/plpython/plpy_resultobject.h
+++ b/src/pl/plpython/plpy_resultobject.h
@@ -5,6 +5,9 @@
#ifndef PLPY_RESULTOBJECT_H
#define PLPY_RESULTOBJECT_H
+#include "access/tupdesc.h"
+
+
typedef struct PLyResultObject
{
PyObject_HEAD
@@ -12,6 +15,7 @@ typedef struct PLyResultObject
PyObject *nrows; /* number of rows returned by query */
PyObject *rows; /* data rows, or None if no data returned */
PyObject *status; /* query status, SPI_OK_*, or SPI_ERR_* */
+ TupleDesc tupdesc;
} PLyResultObject;
extern void PLy_result_init_type(void);