Re: function delete problems

Поиск
Список
Период
Сортировка
От Manfred Koizar
Тема Re: function delete problems
Дата
Msg-id 9lvtguchfalqjqp5rsoqr03kbd4glrpb9o@4ax.com
обсуждение исходный текст
Ответ на function delete problems  (Rory Campbell-Lange <rory@campbell-lange.net>)
Список 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 по дате отправления:

Предыдущее
От: Rory Campbell-Lange
Дата:
Сообщение: function/trigger problems
Следующее
От: Tony Griffiths
Дата:
Сообщение: Client-side libraries for fmgr invocation