pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rod Taylor <rbt@rbt.ca>
To: Tomasz Myrta <jasiek@klaster.net>
Cc: PGSQL-SQL <pgsql-sql@postgresql.org>
Subject: Re: cleaning up useless pl/pgsql functions
Date: 01 Jul 2003 00:39:06 +0000
Message-ID: <1057019945.28657.103.camel@jester> (raw)
In-Reply-To: <3F00A7F8.80107@klaster.net>
References: <3F00A7F8.80107@klaster.net>

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

Attachments:

  signature.asc (application/pgp-signature, 186B) download

view thread (5+ messages)  latest in thread

Message-ID: <1057019945.28657.103.camel@jester>
Permalink:  ../1057019945.28657.103.camel@jester/
Also on:    postgresql.org/message-id/1057019945.28657.103.camel@jester

 · 

reply

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: rbt@rbt.ca, jasiek@klaster.net
  Subject: Re: cleaning up useless pl/pgsql functions
  In-Reply-To: <1057019945.28657.103.camel@jester>

* 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