Richard Huxton <dev@xxxxxxxxxxxx> writes: > Any developers care to comment? plpgsql isn't very bright about tuple descriptors containing dropped columns. The immediate problem is that compatible_tupdesc() doesn't think a tupdesc containing one column matches one containing the same column plus a dropped column; but fixing that would just allow subsequent processing to crash :-(. It needs a fair amount of work. I think the other PLs are no better. regards, tom lane