Tidy up boolean data type page
authorPeter Eisentraut
Sat, 24 Jul 2010 12:17:34 +0000 (12:17 +0000)
committerPeter Eisentraut
Sat, 24 Jul 2010 12:17:34 +0000 (12:17 +0000)
by Thom Brown

doc/src/sgml/datatype.sgml

index 20bf2ea9fa22613114634493f40f65fa53c45d06..fa365a4149b6a5b5bd82f2c1160a2e1969f3cf77 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
  
   Data Types
@@ -2751,13 +2751,34 @@ P  years-months-days <
 
    
     PostgreSQL provides the
-    standard SQL type boolean.
-    boolean can have one of only two states:
+    standard SQL type boolean;
+    see .
+    The boolean type can have one of only two states:
     true or false.  A third state,
     unknown, is represented by the
     SQL null value.
    
 
+   
+    Boolean Data Type
+    
+     
+      
+       Name
+       Storage Size
+       Description
+      
+     
+     
+      
+       boolean
+       1 byte
+       state of true of false
+      
+     
+    
+   
+
    
     Valid literal values for the true state are:
     
@@ -2786,6 +2807,12 @@ P  years-months-days <
     (SQL-compliant) usage.
    
 
+   
+     shows that
+    boolean values are output using the letters
+    t and f.
+   
+
    
     Using the <type>boolean</type> type
 
@@ -2805,16 +2832,6 @@ SELECT * FROM test1 WHERE a;
  t | sic est
 
    
-
-   
-     shows that
-    boolean values are output using the letters
-    t and f.
-   
-
-   
-    boolean uses 1 byte of storage.
-