Re: Delete function without knowing the elements

From: "Marie G(dot) Tuite" <marie(dot)tuite(at)edisonaffiliates(dot)com>
To: "Peter Atkins" <peter(dot)atkins(at)NXCD(dot)com>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Delete function without knowing the elements
Date: 2002-08-13 17:29:32
Message-ID: IGELKLINGDMODABPOOFEMEACCGAA.marie.tuite@edisonaffiliates.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Use \df function_name to get the argument list and then drop it.

> -----Original Message-----
> From: pgsql-sql-owner(at)postgresql(dot)org
> [mailto:pgsql-sql-owner(at)postgresql(dot)org]On Behalf Of Peter Atkins
> Sent: Tuesday, August 13, 2002 12:30 PM
> To: pgsql-sql(at)postgresql(dot)org
> Subject: [SQL] Delete function without knowing the elements
>
>
> All,
>
> I created a function that I can't seem to delete.
>
> [no sure how many parameters]
>
> CREATE OR REPLACE FUNCTION insertEntry (int4, varchar, varchar, numeric,
> varchar, timestamp, varchar, int4, numeric, varchar, int4, ....,....)
> RETURNS INT4 AS '
> .................................................
> END;
> ' LANGUAGE 'plpgsql';
>
> How can I delete this without knowing how many I used to create
> it? This is
> what I used to delete others in the past.
>
> DROP FUNCTION insertEntry(int4, varchar, varchar, ...);
>
> Thanks,
> -pete
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Atkins 2002-08-13 17:29:43 Delete function without knowing the elements
Previous Message Wei Weng 2002-08-13 14:27:28 Re: Is this valid?