X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 8A9E2D1BA4C for ; Fri, 29 Aug 2003 21:19:42 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 60879-06 for ; Fri, 29 Aug 2003 18:19:12 -0300 (ADT) Received: from co-mail.cognitive.com (mail.cognitive.com [12.45.111.163]) by svr1.postgresql.org (Postfix) with ESMTP id 3E8C3D1B8B1 for ; Fri, 29 Aug 2003 18:19:10 -0300 (ADT) Received: by co-mail.cognitive.com with Internet Mail Service (5.5.2653.19) id ; Fri, 29 Aug 2003 15:22:41 -0600 Message-ID: <2F088590EE5CD5118EB700A0C9EBD1800843E8@co-mail.cognitive.com> From: "Haron, Charles" To: pgsql-admin@postgresql.org Subject: Define function with no return value? Date: Fri, 29 Aug 2003 15:22:36 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200308/358 X-Sequence-Number: 10078 Is it posible to define a function with no return value? I've something like "CREATE FUNCTION set_to_active(int4) RETURNS NULL AS ..." but I get an parse error at or near "NULL" Thanks, Chuck