Skip to content

Commit a19931b

Browse files
author
James William Pye
committed
Reflect query.output's new address.
1 parent 569d5f0 commit a19931b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

postgresql/driver/dbapi20.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,12 @@ def execute(self, query, parameters = None):
138138
else:
139139
q = self.pg_api_c.query(query)
140140
r = q()
141-
if q.output is not None and len(q.output) > 0:
141+
if q._output is not None and len(q._output) > 0:
142142
# name, relationId, columnNumber, typeId, typlen, typmod, format
143143
self.description = tuple([
144144
(x[0], dbapi_type(x[3]),
145145
None, None, None, None, None)
146-
for x in q.output
146+
for x in q._output
147147
])
148148
self.__portals.insert(0, r)
149149
else:

0 commit comments

Comments
 (0)