From: Robert Haas Date: Fri, 13 Aug 2010 01:12:38 +0000 (+0000) Subject: Reorder docs on lexical structure slightly for clarity. X-Git-Tag: REL9_1_ALPHA1~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b0a86861a5d5cfe35fe8c876289402891022d4a;p=postgresql Reorder docs on lexical structure slightly for clarity. Thom Brown --- diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml index 4ae3df325c..f3cff8ed2d 100644 --- a/doc/src/sgml/syntax.sgml +++ b/doc/src/sgml/syntax.sgml @@ -1,4 +1,4 @@ - + SQL Syntax @@ -47,12 +47,6 @@ special character is adjacent to some other token type). - - Additionally, comments can occur in SQL - input. They are not tokens, they are effectively equivalent to - whitespace. - - For example, the following is (syntactically) valid SQL input: @@ -65,6 +59,12 @@ INSERT INTO MY_TABLE VALUES (3, 'hi there'); commands can usefully be split across lines). + + Additionally, comments can occur in SQL + input. They are not tokens, they are effectively equivalent to + whitespace. + + The SQL syntax is not very consistent regarding what tokens identify commands and which are operands or parameters. The first