On Mon, Jan 13, 2003 at 02:52:25PM -0500, Tom Lane wrote: > Joe Conway <[EMAIL PROTECTED]> writes: > > Hmmm, looks like nodeFunctionscan.c:tupledesc_mismatch needs to be > > taught about attisdropped. I'll submit a patch this evening if no one > > else gets to it first. > > Actually, I believe I deliberately left it like that because I was > concerned about what would happen in this scenario.
Notice, please, that the bug does not only affect existing functions returning table rows, it also prevents new functions from being created. I think this should not take place. I can agree that one should not be able to drop columns when there are some functions using the table as an argument or return type, but it should be possible to drop these functions, then drop some columns and create completely new functions. And now it ends with an error. :( Best regards, -- Adam Buraczewski <[EMAIL PROTECTED]> * Linux registered user #165585 GCS/TW d- s-:+>+:- a- C+++(++++) UL++++$ P++ L++++ E++ W+ N++ o? K? w-- O M- V- PS+ !PE Y PGP+ t+ 5 X+ R tv- b+ DI? D G++ e+++>++++ h r+>++ y? ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster