"Rod Taylor" <rod(dot)taylor(at)gmail(dot)com> writes:
> That was the short form exhibiting the bug. Selecting the complex
> column from a table into a value results in the same error.
Well, you could do "SELECT t.* INTO v_time". The fundamental point here
is that when the INTO target is a rowtype variable, plpgsql expects to
assign the columns of the SELECT result to the fields of the variable.
We can't change that without breaking enormous amounts of existing code.
regards, tom lane
In response to
pgsql-bugs by date
|Next:||From: Gregory Stark||Date: 2008-11-22 22:56:15|
|Subject: Re: could not read block 77 of relation 1663/16385/388818775|
|Previous:||From: Rod Taylor||Date: 2008-11-22 18:52:53|
|Subject: Re: BUG #4533: Plpgsql complex type failure|