aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/python/tutorial/advanced.py
diff options
context:
space:
mode:
authorJoe Conway <mail@joeconway.com>2004-02-24 06:07:52 +0000
committerJoe Conway <mail@joeconway.com>2004-02-24 06:07:52 +0000
commita7e5e2fe740fc1b8a111df9494ba8adfe4eec7ca (patch)
treebd59a43fae8e7997dfdc8b54b607f62640e6a847 /src/interfaces/python/tutorial/advanced.py
parent7ce7e3f03699e87517826275a4ed2c2f2c5a177a (diff)
downloadpostgresql-a7e5e2fe740fc1b8a111df9494ba8adfe4eec7ca.tar.gz
postgresql-a7e5e2fe740fc1b8a111df9494ba8adfe4eec7ca.zip
When returning type "record", replace use of pgresultGetTupleDesc
with ReturnSetInfo->expectedDesc. This allows custom datatypes (e.g. from tsearch2) to be returned at runtime. Previous behavior depended on the type oid to match between the remote and local database, which obviously doesn't work well for custom types. Per report from Mark Gibson.
Diffstat (limited to 'src/interfaces/python/tutorial/advanced.py')
0 files changed, 0 insertions, 0 deletions