Skip site navigation (1) Skip section navigation (2)

docs correction (8.0 beta)

From: John DeSoi <desoi(at)icx(dot)net>
To: pgsql-docs(at)postgresql(dot)org
Subject: docs correction (8.0 beta)
Date: 2004-08-19 18:17:16
Message-ID: 007C2580-F20C-11D8-BD07-000A95B03262@icx.net (view raw or flat)
Thread:
Lists: 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 */.


Responses

pgsql-docs by date

Next:From: Josh BerkusDate: 2004-08-19 18:52:18
Subject: runtime-config.sgml
Previous:From: Simon RiggsDate: 2004-08-17 20:42:28
Subject: What else is needed for PITR?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group