Re: [HACKERS] bug #1702: nested composite types in plpgsql

2005-09-15 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2005-09-13 12:17:06 -0400: > Roman Neuhauser <[EMAIL PROTECTED]> writes: > > Looking at src/pl/plpgsql/src/pl_exec.c for the first time, is it a problem > > of make_tuple_from_row() not accounting for nested composite types? > > Looks that way. I've committed a fix to HEAD.

Re: [HACKERS] bug #1702: nested composite types in plpgsql

2005-09-13 Thread Tom Lane
Roman Neuhauser <[EMAIL PROTECTED]> writes: > Looking at src/pl/plpgsql/src/pl_exec.c for the first time, is it a problem > of make_tuple_from_row() not accounting for nested composite types? Looks that way. I've committed a fix to HEAD. I'm not sure how hard it'd be to fix 8.0.

[HACKERS] bug #1702: nested composite types in plpgsql

2005-09-13 Thread Roman Neuhauser
Hello, I'm getting this error with the code below (on 8.0.3 like the other guy in #1702. Is this a hard problem to fix? Looking at src/pl/plpgsql/src/pl_exec.c for the first time, is it a problem of make_tuple_from_row() not accounting for nested composite types? test=# SELECT takes_ct2parts(1, A