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 968E55E46C2 for ; Wed, 25 Aug 2004 17:06:15 -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 31408-01 for ; Wed, 25 Aug 2004 20:06:12 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 6D10C5E3632 for ; Wed, 25 Aug 2004 17:06:10 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i7PK68A07688; Wed, 25 Aug 2004 16:06:08 -0400 (EDT) From: Bruce Momjian Message-Id: <200408252006.i7PK68A07688@candle.pha.pa.us> Subject: Re: docs correction (8.0 beta) In-Reply-To: <2649.1093464068@sss.pgh.pa.us> To: Tom Lane Date: Wed, 25 Aug 2004 16:06:07 -0400 (EDT) Cc: John DeSoi , pgsql-docs@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII 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/49 X-Sequence-Number: 2509 Tom Lane wrote: > 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...) Yea, I was wondering about PL/SQL compatibility. Someone want to research that? -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073