From the example below and looking at scan.c, it seems that nested
block comments are supported.
test=# select /* /* nested */ */ 1;
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
|Next:||From: Josh Berkus||Date: 2004-08-19 18:52:18|
|Previous:||From: Simon Riggs||Date: 2004-08-17 20:42:28|
|Subject: What else is needed for PITR?|