Re: function delete problems

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: function delete problems
Дата
Msg-id 200206181054.59774.josh@agliodbs.com
обсуждение исходный текст
Ответ на function delete problems  (Rory Campbell-Lange <rory@campbell-lange.net>)
Список pgsql-novice
Rory,

Warning: You're about to feel really dumb.  Don't worry, it's happened to me,
too.

> I cannot remove them using the drop function <name> command.
>
> obf=> drop function trgpeoplehidden;
> ERROR:  parser: parse error at or near ";"

That's
DROP FUNCTION trgpeoplehidden();
the parens are mandatory.

You also need to drop the trigger, manually ... dropping the function does not
automatically drop the trigger, though it does break the trigger.

--
-Josh Berkus


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

Предыдущее
От: John Taylor
Дата:
Сообщение: Re: What gets inherited
Следующее
От: Indira
Дата:
Сообщение: Re: unsubscribe NOVICE