Commit d810338d authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Add a few items to the reserved keyword lists.

Clarify information on implicitly-typed constants.
parent be189135
...@@ -181,12 +181,13 @@ ALLOCATE ARE ASSERTION AT AUTHORIZATION AVG ...@@ -181,12 +181,13 @@ ALLOCATE ARE ASSERTION AT AUTHORIZATION AVG
BIT BIT_LENGTH BIT BIT_LENGTH
CASCADED CATALOG COLLATION CONNECT CONNECTION CASCADED CATALOG COLLATION CONNECT CONNECTION
CONSTRAINTS CONTINUE CONVERT CORRESPONDING COUNT CONSTRAINTS CONTINUE CONVERT CORRESPONDING COUNT
DATE DEALLOCATE DEC DESCRIBE DESCRIPTOR DIAGNOSTICS DISCONNECT DOMAIN DATE DEALLOCATE DEC DEFERRABLE DEFERRED DESCRIBE DESCRIPTOR
DIAGNOSTICS DISCONNECT DOMAIN
END-EXEC ESCAPE EXCEPT EXCEPTION EXEC EXTERNAL END-EXEC ESCAPE EXCEPT EXCEPTION EXEC EXTERNAL
FIRST FOUND FIRST FOUND
GET GO GOTO GET GO GOTO
IDENTITY IMMEDIATE INDICATOR INITIALLY INPUT INTERSECT ISOLATION IDENTITY IMMEDIATE INDICATOR INITIALLY INPUT INTERSECT
LAST LEVEL LOWER LAST LOWER
MAX MIN MODULE MAX MIN MODULE
OCTET_LENGTH OPEN OUTPUT OVERLAPS OCTET_LENGTH OPEN OUTPUT OVERLAPS
PREPARE PRESERVE PREPARE PRESERVE
...@@ -250,9 +251,9 @@ VALID VERSION ...@@ -250,9 +251,9 @@ VALID VERSION
ABSOLUTE ACTION ABSOLUTE ACTION
DAY DAY
HOUR HOUR
INSENSITIVE INSENSITIVE ISOLATION
KEY KEY
LANGUAGE LANGUAGE LEVEL
MATCH MINUTE MONTH MATCH MINUTE MONTH
NEXT NEXT
OF ONLY OPTION OF ONLY OPTION
...@@ -283,22 +284,21 @@ COMMITTED SERIALIZABLE TYPE ...@@ -283,22 +284,21 @@ COMMITTED SERIALIZABLE TYPE
<programlisting> <programlisting>
ADA ADA
C CATALOG_NAME CHARACTER_SET_CATALOG CHARACTER_SET_NAME C CATALOG_NAME CHARACTER_SET_CATALOG CHARACTER_SET_NAME
CHARACTER_SET_SCHEMA CLASS_ORIGIN COBOL COLLATION_CATALOG CHARACTER_SET_SCHEMA CLASS_ORIGIN COBOL COLLATION_CATALOG
COLLATION_NAME COLLATION_SCHEMA COLUMN_NAME COLLATION_NAME COLLATION_SCHEMA COLUMN_NAME
COMMAND_FUNCTION CONDITION_NUMBER COMMAND_FUNCTION CONDITION_NUMBER
CONNECTION_NAME CONSTRAINT_CATALOG CONSTRAINT_NAME CONNECTION_NAME CONSTRAINT_CATALOG CONSTRAINT_NAME
CONSTRAINT_SCHEMA CURSOR_NAME CONSTRAINT_SCHEMA CURSOR_NAME
DATA DATE_TIME_INTERVAL_CODE DATE_TIME_INTERVAL_PRECISION DATA DATE_TIME_INTERVAL_CODE DATE_TIME_INTERVAL_PRECISION
DYNAMIC_FUNCTION DYNAMIC_FUNCTION
FORTRAN FORTRAN
LENGTH LENGTH
MESSAGE_LENGTH MESSAGE_OCTET_LENGTH MORE MUMPS MESSAGE_LENGTH MESSAGE_OCTET_LENGTH MORE MUMPS
NAME NULLABLE NUMBER NAME NULLABLE NUMBER
PAD PASCAL PLI PAD PASCAL PLI
REPEATABLE RETURNED_LENGTH RETURNED_OCTET_LENGTH REPEATABLE RETURNED_LENGTH RETURNED_OCTET_LENGTH
RETURNED_SQLSTATE ROW_COUNT RETURNED_SQLSTATE ROW_COUNT
SCALE SCHEMA_NAME SERVER_NAME SPACE SCALE SCHEMA_NAME SERVER_NAME SPACE SUBCLASS_ORIGIN
SUBCLASS_ORIGIN
TABLE_NAME TABLE_NAME
UNCOMMITTED UNNAMED UNCOMMITTED UNNAMED
</programlisting> </programlisting>
...@@ -354,9 +354,13 @@ We also support C-style block comments, e.g.: ...@@ -354,9 +354,13 @@ We also support C-style block comments, e.g.:
<title>Constants</title> <title>Constants</title>
<para> <para>
There are six types of There are three <firstterm>implicitly typed constants</firstterm>
<firstterm>constants</firstterm> for use in <productname>Postgres</productname>: strings, integers,
for use in SQL. They are described below. and floating point numbers. Constants can
also be specified with explicit types, which can enable more
accurate representation and more efficient handling by the
backend. The implicit constants are described below; explicit
constants are discussed afterwards.
</para> </para>
<sect2> <sect2>
...@@ -445,7 +449,7 @@ float4 '1.23' -- string style ...@@ -445,7 +449,7 @@ float4 '1.23' -- string style
<para> <para>
A constant of an A constant of an
<emphasis>arbitrary</emphasis> <emphasis>arbitrary</emphasis>
type can be entered using the notations: type can be entered using any one of the following notations:
<synopsis> <synopsis>
<replaceable>type</replaceable> '<replaceable>string</replaceable>' <replaceable>type</replaceable> '<replaceable>string</replaceable>'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment