From 1715ff112809bca5218ddb6eccfda2c20dc420b5 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 3 May 2012 22:50:04 +0300 Subject: doc: Fix for too many brackets in command synopses on man pages The default for the choice attribute of the element is "opt", which would normally put the argument inside brackets. But the DSSSL stylesheets contain a hack that treats directly inside specially, so that -x-y comes out as [ -x | -y ] rather than [ [-x] | [-y] ], which it would technically be. But when building man pages, this doesn't work, and so the command synopses on the man pages contain lots of extra brackets. By putting choice="opt" or choice="plain" explicitly on every and element, we avoid any toolchain dependencies like that, and it also makes it clearer in the source code what is meant. In passing, make some small corrections in the documentation about which arguments are really optional or not. --- doc/src/sgml/sql.sgml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/src/sgml/sql.sgml') diff --git a/doc/src/sgml/sql.sgml b/doc/src/sgml/sql.sgml index c19e8232baa..ba92607966c 100644 --- a/doc/src/sgml/sql.sgml +++ b/doc/src/sgml/sql.sgml @@ -1103,7 +1103,7 @@ SELECT sname, pname from supplier NATURAL INNER - + LEFT RIGHT @@ -1115,8 +1115,8 @@ SELECT sname, pname from supplier JOIN T2 - ON search condition - USING ( join column list ) + ON search condition + USING ( join column list ) @@ -1141,7 +1141,7 @@ SELECT sname, pname from supplier - INNER + INNER JOIN @@ -1163,7 +1163,7 @@ SELECT sname, pname from supplier LEFT - OUTER + OUTER JOIN @@ -1185,7 +1185,7 @@ SELECT sname, pname from supplier RIGHT - OUTER + OUTER JOIN @@ -1207,7 +1207,7 @@ SELECT sname, pname from supplier FULL - OUTER + OUTER JOIN -- cgit v1.2.3