Re: cleaning up useless pl/pgsql functions - Mailing list pgsql-sql

From Rod Taylor
Subject Re: cleaning up useless pl/pgsql functions
Date
Msg-id 1057019945.28657.103.camel@jester
Whole thread Raw
In response to cleaning up useless pl/pgsql functions  (Tomasz Myrta <jasiek@klaster.net>)
List pgsql-sql
On Mon, 2003-06-30 at 21:13, Tomasz Myrta wrote:
> Hi
> Do you have any easy script to remove all pl/pgsql function? After a lot of
> changes inside "create or replace function..." scripts I have a big mess. I
> want to remove all user defined pl/pgsql functions and restore some of them
> from my scripts again.

DROP PROCEDURAL LANGUAGE plpgsql CASCADE;
CREATE PROCEDURAL LANGUAGE plpgsql ...

--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

pgsql-sql by date:

Previous
From: Josh Berkus
Date:
Subject: Re: help with "delete joins"
Next
From: Rod Taylor
Date:
Subject: Re: Need help creating a BEFORE DELETE trigger