From: | Mark Gibson <gibsonm(at)cromwell(dot)co(dot)uk> |
---|---|
To: | "Hackers (PostgreSQL)" <pgsql-hackers(at)postgresql(dot)org> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Joe Conway <mail(at)joeconway(dot)com> |
Subject: | Re: [GENERAL] dblink - custom datatypes don't work |
Date: | 2004-02-11 16:33:16 |
Message-ID: | 402A594C.5050409@cromwell.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-patches |
Tom Lane wrote:
>Mark Gibson <gibsonm(at)cromwell(dot)co(dot)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.
>
>
Well, I've re-compiled PostgreSQL 7.4.1 with --enable-debug
(was previously working with a Gentoo ebuild of it).
And strangely I get a different error now:
ERROR: query-specified return row and actual function return row do not
match
After placing a few elog statements around pgresultGetTupleDesc, i've
found the
error happens after this function.
I've been trying to use gdb to trace the problem, but I can't work out
how to attach
gdb to a backend process. (I've never tried to debug a multi process before)
Are there any docs on debugging the backend processes?
I've searched www.postgresql.org without luck :(
--
Mark Gibson <gibsonm |AT| cromwell |DOT| co |DOT| uk>
Web Developer & Database Admin
Cromwell Tools Ltd.
Leicester, England.
From | Date | Subject | |
---|---|---|---|
Next Message | scott.marlowe | 2004-02-11 16:35:40 | Re: pl/pythonu |
Previous Message | Tom Lane | 2004-02-11 16:26:24 | Re: pg_class and relfilenode |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-02-11 16:39:16 | Re: [GENERAL] dblink - custom datatypes don't work |
Previous Message | evgent | 2004-02-11 16:26:03 | Re: Recursive queries? |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-02-11 16:39:16 | Re: [GENERAL] dblink - custom datatypes don't work |
Previous Message | Bruce Momjian | 2004-02-10 22:08:34 | Re: [PATCHES] Current-stream read for psql's \copy |