deleting function from pg_catalog.pg_proc - Mailing list pgsql-general

From Gevik Babakhani
Subject deleting function from pg_catalog.pg_proc
Date
Msg-id 9179.195.169.118.236.1143550725.squirrel@webmail.xs4all.nl
Whole thread Raw
Responses Re: deleting function from pg_catalog.pg_proc
List pgsql-general
Hello Folks,

I would like to know if deleting functions from pg_catalog.pg_proc with
the following SQL statement is advisable?

I would like a way of deleting my functions without using the DROP
FUNCTION statement.

------------------------------------------------------------------
delete from pg_catalog.pg_proc where oid in (select sp.oid from
    pg_catalog.pg_proc sp
    inner join pg_namespace ns on sp.pronamespace=ns.oid
where
    ns.nspname='public'
    and sp.proname like 'sys%')
------------------------------------------------------------------
Thank you.



pgsql-general by date:

Previous
From: "David Welton"
Date:
Subject: Concurrency question
Next
From: JP Glutting
Date:
Subject: Re: Bug? was: Re: ERROR: could not convert UTF8 character