> > I'm afraid LOCK is not available inside a PLPGSQL function
>
> Works fine for me ...
Hmm, it works for me, too. OK, I see no more rocks ahead writing a PLPGSQL
function which drops a column. It'll be slow, but it'll work. However, a C
function would be better. Unfortunately I have no experience in writing
libpq or ecpg functions. Is it a problem for you if I contribute a PLPGSQL
code?
Regards, Zoltan