X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BCA1E5E46C7 for ; Thu, 19 Aug 2004 15:18:45 -0300 (ADT) 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 31587-07 for ; Thu, 19 Aug 2004 18:18:36 +0000 (GMT) Received: from bittern.mail.pas.earthlink.net (bittern.mail.pas.earthlink.net [207.217.120.119]) by svr1.postgresql.org (Postfix) with ESMTP id A0F305E46C5 for ; Thu, 19 Aug 2004 15:18:34 -0300 (ADT) Received: from user-1120v8p.dsl.mindspring.com ([66.32.125.25] helo=[192.168.1.10]) by bittern.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1BxrUc-0000d6-00 for pgsql-docs@postgresql.org; Thu, 19 Aug 2004 11:18:30 -0700 Mime-Version: 1.0 (Apple Message framework v613) Content-Transfer-Encoding: 7bit Message-Id: <007C2580-F20C-11D8-BD07-000A95B03262@icx.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: pgsql-docs@postgresql.org From: John DeSoi Subject: docs correction (8.0 beta) Date: Thu, 19 Aug 2004 14:17:16 -0400 X-Mailer: Apple Mail (2.613) 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: 200408/43 X-Sequence-Number: 2503 From the example below and looking at scan.c, it seems that nested block comments are supported. test=# select /* /* nested */ */ 1; ?column? ---------- 1 (1 row) From section 35.3: There are two types of comments in PL/pgSQL. A double dash (--) starts a comment that extends to the end of the line. A /* starts a block comment that extends to the next occurrence of */. Block comments cannot be nested, but double dash comments can be enclosed into a block comment and a double dash can hide the block comment delimiters /* and */.