Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 7B02A4758BB for ; Tue, 13 Aug 2002 13:27:39 -0400 (EDT) Received: from edisonaffiliates.com (w205.z208176060.chi-il.dsl.cnc.net [208.176.60.205]) by postgresql.org (Postfix) with SMTP id AA4A2475481 for ; Tue, 13 Aug 2002 13:27:38 -0400 (EDT) Received: from redhen ([12.32.94.66]) by edisonaffiliates.com ; Tue, 13 Aug 2002 12:22:30 -0500 Reply-To: From: "Marie G. Tuite" To: "Peter Atkins" , Subject: Re: Delete function without knowing the elements Date: Tue, 13 Aug 2002 12:29:32 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-reply-to: <1CAD483B723BD611B0C10090274FF0685547ED@NXCDMAIL> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/205 X-Sequence-Number: 9051 Use \df function_name to get the argument list and then drop it. > -----Original Message----- > From: pgsql-sql-owner@postgresql.org > [mailto:pgsql-sql-owner@postgresql.org]On Behalf Of Peter Atkins > Sent: Tuesday, August 13, 2002 12:30 PM > To: pgsql-sql@postgresql.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@postgresql.org) >