Re: function delete problems - Mailing list pgsql-novice

From Josh Berkus
Subject Re: function delete problems
Date
Msg-id 200206181054.59774.josh@agliodbs.com
Whole thread Raw
In response to function delete problems  (Rory Campbell-Lange <rory@campbell-lange.net>)
List 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 by date:

Previous
From: John Taylor
Date:
Subject: Re: What gets inherited
Next
From: Indira
Date:
Subject: Re: unsubscribe NOVICE