X-Original-To: pgsql-sql@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 98217474E4F for ; Fri, 7 Feb 2003 12:32:37 -0500 (EST) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 2BEC0475956 for ; Fri, 7 Feb 2003 12:32:27 -0500 (EST) Received: by news.hub.org (Postfix, from userid 8) id 0333043A67A; Fri, 7 Feb 2003 12:31:51 -0500 (EST) From: "Daniel Schuchardt" X-Newsgroups: comp.databases.postgresql.sql Subject: Re: "function has no parameter $1" - help. Date: Fri, 7 Feb 2003 17:52:34 +0100 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 7 Message-ID: References: <3B663B41B350D311AEEF00A0C9254563201A69@VISION1> X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 To: pgsql-sql@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/161 X-Sequence-Number: 11559 In > 7.3 you can also CREATE OR REPLACE FUNCTION xxx() RETURNS TRIGGER AS' BEGIN END'LANGUAGE plpgsql;