From c30446b9c901b357f9a7b859c51bee5740ac313f Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 17 Jun 2009 21:58:49 +0000 Subject: Proofreading for Bruce's recent round of documentation proofreading. Most of those changes were good, but some not so good ... --- doc/src/sgml/syntax.sgml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'doc/src/sgml/syntax.sgml') diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml index cf929f0b72e..bc562e1f97b 100644 --- a/doc/src/sgml/syntax.sgml +++ b/doc/src/sgml/syntax.sgml @@ -1,4 +1,4 @@ - + SQL Syntax @@ -442,7 +442,7 @@ SELECT 'foo' 'bar'; - The zero-byte (null byte) character cannot be in a string constant. + The character with the code zero cannot be in a string constant. @@ -929,8 +929,8 @@ CAST ( 'string' AS type ) - Comment are removed from the input stream before further syntax - analysis and are effectively replaced by whitespace. + A comment is removed from the input stream before further syntax + analysis and is effectively replaced by whitespace. @@ -1244,9 +1244,9 @@ SELECT 3 OPERATOR(pg_catalog.+) 4; - Another value expression in parentheses, useful to group + Another value expression in parentheses (used to group subexpressions and override - precedence.parenthesis + precedenceparenthesis) @@ -1725,7 +1725,7 @@ CAST ( expression AS type casts that are marked OK to apply implicitly in the system catalogs. Other casts must be invoked with explicit casting syntax. This restriction is intended to prevent - surprising conversions from being silently applied. + surprising conversions from being applied silently. @@ -1805,7 +1805,7 @@ SELECT name, (SELECT max(pop) FROM cities WHERE cities.state = states.name) An array constructor is an expression that builds an - array using values for its member elements. A simple array + array value using values for its member elements. A simple array constructor consists of the key word ARRAY, a left square bracket [, a list of expressions (separated by commas) for the @@ -1936,7 +1936,7 @@ SELECT ARRAY(SELECT oid FROM pg_proc WHERE proname LIKE 'bytea%'); - A row constructor is an expression that builds a row (also + A row constructor is an expression that builds a row value (also called a composite value) using values for its member fields. A row constructor consists of the key word ROW, a left parenthesis, zero or more -- cgit v1.2.3