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 28BA15E40AC for ; Wed, 25 Aug 2004 17:01:24 -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 28196-01 for ; Wed, 25 Aug 2004 20:01:15 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 721595E37D0 for ; Wed, 25 Aug 2004 17:01:13 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i7PK19Sj002650; Wed, 25 Aug 2004 16:01:09 -0400 (EDT) To: Bruce Momjian Cc: John DeSoi , pgsql-docs@postgresql.org Subject: Re: docs correction (8.0 beta) In-reply-to: <200408251955.i7PJtpN06220@candle.pha.pa.us> References: <200408251955.i7PJtpN06220@candle.pha.pa.us> Comments: In-reply-to Bruce Momjian message dated "Wed, 25 Aug 2004 15:55:51 -0400" Date: Wed, 25 Aug 2004 16:01:08 -0400 Message-ID: <2649.1093464068@sss.pgh.pa.us> From: Tom Lane 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/48 X-Sequence-Number: 2508 Bruce Momjian writes: > Tom Lane wrote: >> You are confusing SQL and PL/pgSQL. > Any idea why they don't match between SQL and PL/pgSQL. Different lexers. We could talk about extending plpgsql's lexer to handle comments the same way as the main SQL lexer, but it doesn't do so ATM. (Also, there is compatibility with Oracle PL/SQL to think about before assuming such a change must be a Good Thing...) regards, tom lane