Re: Bug with FOR ... LOOP and composite types - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bug with FOR ... LOOP and composite types
Date
Msg-id 28973.1220308364@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bug with FOR ... LOOP and composite types  ("Oleg Serov" <serovov@gmail.com>)
Responses Re: Bug with FOR ... LOOP and composite types
List pgsql-bugs
"Oleg Serov" <serovov@gmail.com> writes:
> But if there are some records in t_table and we romove WHERE 1=0, we will
> have
> ERROR: wrong record type supplied in RETURN NEXT CONTEXT: PL/pgSQL function
> "t_func" line 9 at RETURN NEXT

I couldn't reproduce that here, at least not with versions newer than
8.0.  Maybe you were testing a case that also involved dropped columns?

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Andrea Villardino"
Date:
Subject: BUG #4391: initdb doen't work with options -U username and -W
Next
From: Russell Smith
Date:
Subject: Re: Problem with planer