Re: [BUGS] problem with TRUNCATE TABLE in plpgsql function

2002-11-01 Thread Tom Lane
Pavel Stehule <[EMAIL PROTECTED]> writes: > I played with some own old plpgsql functions. I found "error" in plpgsql > 7.3. When I use TRUNCATE TABLE in function I get > TRUNCATE TABLE cannot be executed from a function. > In 7.2.2. I can use this command. Why, now I can't use truncate table? Thi

[BUGS] problem with TRUNCATE TABLE in plpgsql function

2002-11-01 Thread Pavel Stehule
Hi all I played with some own old plpgsql functions. I found "error" in plpgsql 7.3. When I use TRUNCATE TABLE in function I get TRUNCATE TABLE cannot be executed from a function. In 7.2.2. I can use this command. Why, now I can't use truncate table? Thank you Pavel Stehule -