I think in datatype.sgml line 506 or so:
authorBruce Momjian
Thu, 16 Nov 2000 06:03:40 +0000 (06:03 +0000)
committerBruce Momjian
Thu, 16 Nov 2000 06:03:40 +0000 (06:03 +0000)
    varchar(n)
        (4+x) bytes

should be
   varchar(n)
        (4+n) bytes

or
   varchar(x)
        (4+x) bytes

Regards

Laser Henry

doc/src/sgml/datatype.sgml

index b64f64836ce6e19fcc023553ee33b3c55d421fd0..e805d2beacfc0f99af41aaf6fb5d3981affb271f 100644 (file)
@@ -1,5 +1,5 @@
 
 
  
@@ -497,13 +497,13 @@ CREATE TABLE tablename (
        
        
    text
-   (4+x) bytes
+   (4+length) bytes
    Best choice
    Variable-length
        
        
    varchar(n)
-   (4+x) bytes
+   (4+n) bytes
    SQL92-compatible
    Variable-length with limit