Add a couple of cross-references to the docs about enum types, per a
authorTom Lane
Fri, 19 Dec 2008 01:34:19 +0000 (01:34 +0000)
committerTom Lane
Fri, 19 Dec 2008 01:34:19 +0000 (01:34 +0000)
recent gripe that the info is hard to find.

doc/src/sgml/datatype.sgml

index c9669b495125df837955890b4c95c1e72eab1f31..6a61c0c5bf532be0f921bd8209cdb3659087409b 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
  
   Data Types
@@ -2742,6 +2742,10 @@ SELECT * FROM test1 WHERE a;
     enumerated (enum)
    
 
+   
+    enumerated types
+   
+
    
     Enumerated (enum) types are data types that
     are comprised of a static, predefined set of values with a
@@ -2886,6 +2890,13 @@ SELECT person.name, holidays.num_weeks FROM person, holidays
      Spaces in the labels are significant, too.
     
 
+    
+     The translations from internal enum values to textual labels are
+     kept in the system catalog
+     pg_enum.
+     Querying this catalog directly can be useful.
+    
+