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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-docs by date

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