problem with TRUNCATE TABLE in plpgsql function

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема problem with TRUNCATE TABLE in plpgsql function
Дата
Msg-id Pine.LNX.4.44.0211011305300.13927-100000@kix.fsv.cvut.cz
обсуждение исходный текст
Ответ на 7.2.1: Can't create prcedural language PLPERL  (Ruslan A Dautkhanov <rusland@scn.ru>)
Ответы Re: problem with TRUNCATE TABLE in plpgsql function  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bug #809: View not using index
Следующее
От: Tom Lane
Дата:
Сообщение: Re: problem with TRUNCATE TABLE in plpgsql function