Now that I look, table 8-1 has some other marginal misstatements in it.
authorTom Lane
Mon, 20 Sep 2004 04:19:50 +0000 (04:19 +0000)
committerTom Lane
Mon, 20 Sep 2004 04:19:50 +0000 (04:19 +0000)
If we're going to put brackets around optional precision specs in some
entries, we'd better do it in all.

doc/src/sgml/datatype.sgml

index d15d7b398e4d57c1d6081d13d758c42712e8a7ef..6408461d2e27768202cc7c44818f5bfffc9711da 100644 (file)
@@ -1,5 +1,5 @@
 
 
  
@@ -56,14 +56,14 @@ $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.148 2004/09/18 15:28:03 tgl Ex
       
 
       
-       bit
+       bit [ (n) ]
        
        fixed-length bit string
       
 
       
-       bit varying(n)
-       varbit(n)
+       bit varying [ (n) ]
+       varbit
        variable-length bit string
       
 
@@ -86,14 +86,14 @@ $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.148 2004/09/18 15:28:03 tgl Ex
       
 
       
-       character varying(n)
-       varchar(n)
+       character varying [ (n) ]
+       varchar [ (n) ]
        variable-length character string
       
 
       
-       character(n)
-       char(n)
+       character [ (n) ]
+       char [ (n) ]
        fixed-length character string
       
 
@@ -134,7 +134,7 @@ $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.148 2004/09/18 15:28:03 tgl Ex
       
 
       
-       interval(p)
+       interval [ (p) ]
        
        time span
       
@@ -174,7 +174,7 @@ $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.148 2004/09/18 15:28:03 tgl Ex
       
        path
        
-       open and closed geometric path in the plane
+       open or closed geometric path in the plane
       
 
       
@@ -227,7 +227,7 @@ $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.148 2004/09/18 15:28:03 tgl Ex
 
       
        timestamp [ (p) ] [ without time zone ]
-       timestamp
+       
        date and time