From d09f6f77418313d3d7425ddffa0b20c6a841e818 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 8 Jan 2002 15:38:42 +0000 Subject: [PATCH] Minor wordsmithing. --- doc/src/sgml/keywords.sgml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/doc/src/sgml/keywords.sgml b/doc/src/sgml/keywords.sgml index 47f950b408..0f29b704f6 100644 --- a/doc/src/sgml/keywords.sgml +++ b/doc/src/sgml/keywords.sgml @@ -1,4 +1,4 @@ - + <acronym>SQL</acronym> Key Words @@ -17,12 +17,13 @@ SQL distinguishes between reserved and - non-reserved key words. Reserved key words + non-reserved key words. According to the standard, + reserved key words are the only real key words; they are never allowed as identifiers. Non-reserved key words only have a special meaning in particular contexts and can be used as identifiers in other contexts. Most non-reserved key words are actually the names of built-in tables - and functions specified by SQL and the concept of non-reserved key + and functions specified by SQL. The concept of non-reserved key words essentially only exists to declare that some predefined meaning is attached to a word in some contexts. @@ -33,9 +34,9 @@ ranging from those that can never be used as an identifier to those that have absolutely no special status in the parser as compared to an ordinary identifier. (The latter is usually the case for - functions specified by SQL.) SQL reserved key words are not + functions specified by SQL.) Even reserved key words are not completely reserved in PostgreSQL, but - can be used as column label (as in SELECT 55 AS + can be used as column labels (for example, SELECT 55 AS CHECK, even though CHECK is a reserved key word). @@ -47,12 +48,12 @@ known to the parser but are allowed in most or all contexts where an identifier is expected. Some key words that are otherwise non-reserved cannot be used as function or data type names and are - marked accordingly. (Some of these tokens represent built-in + marked accordingly. (Most of these words represent built-in functions or data types with special syntax. The function or type is still available but it cannot be redefined by the user.) Labeled reserved are those tokens that are only allowed as AS column label names (and perhaps in very few other - contexts). Some reserved key words are available as names for + contexts). Some reserved key words are allowable as names for functions; this is also shown in the table. -- 2.40.0