From: Josh Berkus <josh@agliodbs.com>
To: Tomasz Myrta <jasiek@klaster.net>
Cc: PGSQL-SQL <pgsql-sql@postgresql.org>
Subject: Re: cleaning up useless pl/pgsql functions
Date: Mon, 30 Jun 2003 15:02:24 -0700
Message-ID: <200306301502.24119.josh@agliodbs.com> (raw)
In-Reply-To: <3F00AC58.5070905@klaster.net>
References: <3F00A7F8.80107@klaster.net>
<3F00AC58.5070905@klaster.net>
Tomasz,
> Hmm Answer to myself:
>
> DELETE from pg_proc where prolang =(select oid from pg_language where
> lanname='plpgsq');
>
> What do you think about it?
You probably also want to put a "proowner = {your userid}" condition in there,
just in case there are any builtins/contrib stuff that uses plpgsql.
--
-Josh Berkus
Aglio Database Solutions
San Francisco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com, jasiek@klaster.net
Subject: Re: cleaning up useless pl/pgsql functions
In-Reply-To: <200306301502.24119.josh@agliodbs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox