aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2013-11-25 15:29:51 +0100
committerMichael Meskes <meskes@postgresql.org>2013-11-25 15:38:09 +0100
commit05b476c2983a8d38bf6a0254553b4a0776896aa7 (patch)
tree0f869b7154a00325083620eac3464d9bb620caf1 /doc/src
parentef8b3b00b55ef1feedb352a8a26f94845b6437dc (diff)
downloadpostgresql-05b476c2983a8d38bf6a0254553b4a0776896aa7.tar.gz
postgresql-05b476c2983a8d38bf6a0254553b4a0776896aa7.zip
More improvement to comment parsing in ecpg.
ECPG is not supposed to allow and output nested comments in C. These comments are only allowed in the SQL parts and must not be written into the C file. Also the different handling of different comments is documented.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ecpg.sgml6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml
index c629726affe..120d760ba21 100644
--- a/doc/src/sgml/ecpg.sgml
+++ b/doc/src/sgml/ecpg.sgml
@@ -64,8 +64,10 @@ EXEC SQL ...;
These statements syntactically take the place of a C statement.
Depending on the particular statement, they can appear at the
global level or within a function. Embedded
- <acronym>SQL</acronym> statements follow the case-sensitivity rules
- of normal <acronym>SQL</acronym> code, and not those of C.
+ <acronym>SQL</acronym> statements follow the case-sensitivity rules of
+ normal <acronym>SQL</acronym> code, and not those of C. Also they allow nested
+ C-style comments that are part of the SQL standard. The C part of the
+ program, however, follows the C standard of not accepting nested comments.
</para>
<para>