Add to_regnamespace() and to_regrole() to the documentation.
authorTom Lane
Tue, 5 Jan 2016 17:35:18 +0000 (12:35 -0500)
committerTom Lane
Tue, 5 Jan 2016 17:35:18 +0000 (12:35 -0500)
Commits cb9fa802b32b222b and 0c90f6769de6a60f added these functions,
but did not bother with documentation.

doc/src/sgml/func.sgml

index 2d26896cc27c56b9fe1bbdc94b122e34852cbf3f..4ce634cc2999353e60b24ab01deea8382f7de17e 100644 (file)
@@ -15819,6 +15819,14 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
     to_regtype
    
 
+   
+    to_regnamespace
+   
+
+   
+    to_regrole
+   
+
   
     lists functions that
    extract information from the system catalogs.
@@ -16009,6 +16017,16 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
        regtype
        get the OID of the named type
       
+      
+       to_regnamespace(schema_name)
+       regnamespace
+       get the OID of the named schema
+      
+      
+       to_regrole(role_name)
+       regrole
+       get the OID of the named role
+      
      
     
    
@@ -16152,10 +16170,13 @@ SELECT collation for ('foo' COLLATE "de_DE");
   
    The to_regclassto_regproc,
    to_regprocedureto_regoper,
-   to_regoperator, and to_regtype
-   functions translate relation, function, operator, and type names to objects
-   of type regclass, regproc, regprocedure,
-   regoper, regoperator, and regtype,
+   to_regoperatorto_regtype,
+   to_regnamespace, and to_regrole
+   functions translate relation, function, operator, type, schema, and role
+   names to objects of
+   type regclass, regproc, regprocedure,
+   regoper, regoperatorregtype,
+   regnamespace, and regrole
    respectively.  These functions differ from a cast from
    text in that they don't accept a numeric OID, and that they return null
    rather than throwing an error if the name is not found (or, for