]> granicus.if.org Git - postgresql/commit
When returning type "record", replace use of pgresultGetTupleDesc
authorJoe Conway <mail@joeconway.com>
Tue, 24 Feb 2004 06:07:34 +0000 (06:07 +0000)
committerJoe Conway <mail@joeconway.com>
Tue, 24 Feb 2004 06:07:34 +0000 (06:07 +0000)
commit27ae96c2b63c6ba68a2b8776cdd478dc779b641d
treebbc03dbbfcc55c4c20ce10eb742eabae77774c80
parent78c97b156ecb697e4bda3bb3fb4a9684458d7019
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