Include keywords from CASE implementation.

Rearrange a few other keywords to put them in the proper category.
This commit is contained in:
Thomas G. Lockhart 1998-12-18 16:13:45 +00:00
parent df3023344e
commit bb6286a92d

View File

@ -73,12 +73,15 @@ or <acronym>SQL3</acronym> reserved words, and which
are allowed to be present as column labels, but not as identifiers: are allowed to be present as column labels, but not as identifiers:
<programlisting> <programlisting>
CROSS CURRENT CASE COALESCE CROSS CURRENT
ELSE END
FALSE FOREIGN FALSE FOREIGN
GROUP GROUP
NULLIF
ORDER ORDER
POSITION PRECISION POSITION PRECISION
TABLE TRANSACTION TRUE TABLE THEN TRANSACTION TRUE
WHEN
</programlisting> </programlisting>
The following are <productname>Postgres</productname> The following are <productname>Postgres</productname>
@ -88,11 +91,12 @@ or <acronym>SQL3</acronym> reserved words:
<programlisting> <programlisting>
ADD ALL ALTER AND ANY AS ASC ADD ALL ALTER AND ANY AS ASC
BEGIN BETWEEN BOTH BY BEGIN BETWEEN BOTH BY
CASCADE CAST CHAR CHARACTER CHECK CLOSE COLLATE COLUMN COMMIT CASCADE CAST CHAR CHARACTER CHECK CLOSE
CONSTRAINT CREATE CURRENT_DATE CURRENT_TIME COLLATE COLUMN COMMIT CONSTRAINT
CURRENT_TIMESTAMP CURRENT_USER CURSOR CREATE CURRENT_DATE CURRENT_TIME
CURRENT_TIMESTAMP CURRENT_USER CURSOR
DECIMAL DECLARE DEFAULT DELETE DESC DISTINCT DROP DECIMAL DECLARE DEFAULT DELETE DESC DISTINCT DROP
END EXECUTE EXISTS EXTRACT EXECUTE EXISTS EXTRACT
FETCH FLOAT FOR FROM FULL FETCH FLOAT FOR FROM FULL
GRANT GRANT
HAVING HAVING
@ -122,7 +126,7 @@ CHAR_LENGTH CHARACTER_LENGTH
The following are <acronym>SQL92</acronym> or <acronym>SQL3</acronym> The following are <acronym>SQL92</acronym> or <acronym>SQL3</acronym>
reserved key words which reserved key words which
are not <productname>Postgres</productname> reserved key words, but are not <productname>Postgres</productname> reserved key words, but
if used as type names which are always translated into an alternate, native type: if used as type names are always translated into an alternate, native type:
<programlisting> <programlisting>
BOOLEAN DOUBLE FLOAT INT INTEGER INTERVAL REAL SMALLINT BOOLEAN DOUBLE FLOAT INT INTEGER INTERVAL REAL SMALLINT
@ -147,25 +151,24 @@ in other contexts.
<programlisting> <programlisting>
ALLOCATE ARE ASSERTION AT AUTHORIZATION AVG ALLOCATE ARE ASSERTION AT AUTHORIZATION AVG
BIT BIT_LENGTH BIT BIT_LENGTH
CASCADED CASE CATALOG COALESCE COLLATION CASCADED CATALOG COLLATION CONNECT CONNECTION
CONNECT CONNECTION CONSTRAINTS CONTINUE CONVERT CORRESPONDING COUNT CONSTRAINTS CONTINUE CONVERT CORRESPONDING COUNT
DATE DEALLOCATE DEC DESCRIBE DESCRIPTOR DIAGNOSTICS DISCONNECT DOMAIN DATE DEALLOCATE DEC DESCRIBE DESCRIPTOR DIAGNOSTICS DISCONNECT DOMAIN
ELSE END-EXEC ESCAPE EXCEPT EXCEPTION EXEC EXTERNAL END-EXEC ESCAPE EXCEPT EXCEPTION EXEC EXTERNAL
FIRST FOUND FIRST FOUND
GET GLOBAL GO GOTO GET GLOBAL GO GOTO
IDENTITY IMMEDIATE INDICATOR INITIALLY INPUT INTERSECT ISOLATION IDENTITY IMMEDIATE INDICATOR INITIALLY INPUT INTERSECT ISOLATION
LAST LEVEL LOWER LAST LEVEL LOWER
MAX MIN MODULE MAX MIN MODULE
NULLIF
OCTET_LENGTH OPEN OUTPUT OVERLAPS OCTET_LENGTH OPEN OUTPUT OVERLAPS
PREPARE PRESERVE PREPARE PRESERVE
RESTRICT ROWS RESTRICT ROWS
SCHEMA SECTION SESSION SESSION_USER SIZE SOME SCHEMA SECTION SESSION SESSION_USER SIZE SOME
SQL SQLCODE SQLERROR SQLSTATE SUM SYSTEM_USER SQL SQLCODE SQLERROR SQLSTATE SUM SYSTEM_USER
TEMPORARY THEN TRANSLATE TRANSLATION TEMPORARY TRANSLATE TRANSLATION
UNKNOWN UPPER USAGE UNKNOWN UPPER USAGE
VALUE VALUE
WHEN WHENEVER WRITE WHENEVER WRITE
</programlisting> </programlisting>
<Sect2> <Sect2>