]> git.ipfire.org Git - thirdparty/postgresql.git/commit
When returning type "record", replace use of pgresultGetTupleDesc
authorJoe Conway <mail@joeconway.com>
Tue, 24 Feb 2004 06:07:52 +0000 (06:07 +0000)
committerJoe Conway <mail@joeconway.com>
Tue, 24 Feb 2004 06:07:52 +0000 (06:07 +0000)
commita7e5e2fe740fc1b8a111df9494ba8adfe4eec7ca
treebd59a43fae8e7997dfdc8b54b607f62640e6a847
parent7ce7e3f03699e87517826275a4ed2c2f2c5a177a
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.
contrib/dblink/dblink.c