Re: function delete problems - Mailing list pgsql-novice

From Manfred Koizar
Subject Re: function delete problems
Date
Msg-id 9lvtguchfalqjqp5rsoqr03kbd4glrpb9o@4ax.com
Whole thread Raw
In response to function delete problems  (Rory Campbell-Lange <rory@campbell-lange.net>)
List pgsql-novice
On Tue, 18 Jun 2002 10:14:26 +0100, Rory Campbell-Lange <rory@campbell-lange.net> wrote:
>I have made some functions which I wish to remove or remake. These are
>'returns opaque' functions that are used for triggers.
>
>I cannot remove them using the drop function <name> command.
>
>obf=> drop function trgpeoplehidden;
>ERROR:  parser: parse error at or near ";"

fred=# \h drop function
Command:     DROP FUNCTION
Description: Removes a user-defined C function
Syntax:
DROP FUNCTION name ( [ type [, ...] ] )
                   ^                  ^
                    Don't omit these!

fred=# drop function bla;
ERROR:  parser: parse error at or near ";"
fred=# drop function bla();
ERROR:  RemoveFunction: function 'bla()' does not exist

.. which is correct.

Servus
 Manfred

pgsql-novice by date:

Previous
From: Rory Campbell-Lange
Date:
Subject: function/trigger problems
Next
From: Tony Griffiths
Date:
Subject: Client-side libraries for fmgr invocation