docs correction (8.0 beta) - Mailing list pgsql-docs

From John DeSoi
Subject docs correction (8.0 beta)
Date
Msg-id 007C2580-F20C-11D8-BD07-000A95B03262@icx.net
Whole thread Raw
Responses Re: docs correction (8.0 beta)
List pgsql-docs
 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 */.


pgsql-docs by date:

Previous
From: Josh Berkus
Date:
Subject: Re: runtime-config.sgml
Next
From: Tom Lane
Date:
Subject: Re: docs correction (8.0 beta)