cf of wrote:
> alter table test_table drop column key3;
>
> select * from test_function();
> ERROR: wrong record type supplied in RETURN NEXT
> DETAIL: Number of returned columns (2) does not match expected column
> count (3).
Known problem, fixed in HEAD (8.5-to-be). Not sure how backpatchable
the fix was.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support