docs: Fix list of object types pg_table_is_visible() can handle.
authorRobert Haas
Thu, 4 Jun 2015 21:48:00 +0000 (17:48 -0400)
committerRobert Haas
Thu, 4 Jun 2015 21:48:00 +0000 (17:48 -0400)
Materialized views and foreign tables were missing from the list,
probably because they are newer than the other object types that were
mentioned.

Etsuro Fujita

doc/src/sgml/func.sgml

index c6e354054cd2a6c79532f3693b7852e159307c07..080c388296fb08f8810b0cf0b52664b8daf0ba0e 100644 (file)
@@ -15574,8 +15574,9 @@ SELECT relname FROM pg_class WHERE pg_table_is_visible(oid);
    
     Each function performs the visibility check for one type of database
     object.  Note that pg_table_is_visible can also be used
-    with views, indexes and sequences; pg_type_is_visible
-    can also be used with domains. For functions and operators, an object in
+    with views, materialized views, indexes, sequences and foreign tables;
+    pg_type_is_visible can also be used with domains.
+    For functions and operators, an object in
     the search path is visible if there is no object of the same name
     and argument data type(s) earlier in the path.  For operator
     classes, both name and associated index access method are considered.