X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4D606329D28 for ; Thu, 23 Sep 2004 16:33:28 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 67010-02 for ; Thu, 23 Sep 2004 15:33:21 +0000 (GMT) Received: from fedk0913.Ferring.com (fedk0913.ferring.com [213.237.141.22]) by svr1.postgresql.org (Postfix) with ESMTP id ED557329D22 for ; Thu, 23 Sep 2004 16:33:19 +0100 (BST) Received: from fedk0005.Fic.ferring.com (unverified [206.182.35.205]) by fedk0913.Ferring.com (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Thu, 23 Sep 2004 17:33:16 +0200 Received: from [10.20.100.63] (10.20.100.63 [10.20.100.63]) by fedk0005.Fic.ferring.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id SMF1MKHV; Thu, 23 Sep 2004 17:33:02 +0200 Message-ID: <4152ECA2.8030303@ferring.com> Date: Thu, 23 Sep 2004 08:32:50 -0700 From: Kemin Zhou User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: plpgsql syntax Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/205 X-Sequence-Number: 19051 I just want to bring up a point for discussion: for the function definition is treated as a long string right now. Why not add an additional token so that we don't have to write 10 single quotes. for example create function a_func() return integer as ..... end a_func after as and before end a_func marks the definition body. Would this be better than the ' '? Kemin ********************************************************************** Proprietary or confidential information belonging to Ferring Holding SA or to one of its affiliated companies may be contained in the message. If you are not the addressee indicated in this message (or responsible for the delivery of the message to such person), please do not copy or deliver this message to anyone. In such case, please destroy this message and notify the sender by reply e-mail. Please advise the sender immediately if you or your employer do not consent to e-mail for messages of this kind. Opinions, conclusions and other information in this message represent the opinion of the sender and do not necessarily represent or reflect the views and opinions of Ferring. **********************************************************************