Re: [GENERAL] dblink - custom datatypes don't work - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [GENERAL] dblink - custom datatypes don't work
Date
Msg-id 17513.1076434921@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] dblink - custom datatypes don't work  (Mark Gibson <gibsonm@cromwell.co.uk>)
Responses Re: [GENERAL] dblink - custom datatypes don't work  (Mark Gibson <gibsonm@cromwell.co.uk>)
List pgsql-hackers
Mark Gibson <gibsonm@cromwell.co.uk> writes:
> Unfortunately, it doesn't work using the oid the map, whether custom types
> are involved or not. All I get is the following message:
> ERROR:  unsupported byval length: nnnn
> SPI is very new to me (like 2 days old ;).
> Any suggestions where I've gone wrong?

Not offhand.  Try setting a breakpoint at errfinish() so you can get a
stack trace back from the point of the error; that should help.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Mark Gibson
Date:
Subject: Re: [GENERAL] dblink - custom datatypes don't work
Next
From: Andreas Pflug
Date:
Subject: Re: MS SQL features for new version