Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1c645da

Browse files
committed
docs: Fix list of object types pg_table_is_visible() can handle.
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
1 parent 1d27842 commit 1c645da

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/src/sgml/func.sgml

+3-2
Original file line numberDiff line numberDiff line change
@@ -15574,8 +15574,9 @@ SELECT relname FROM pg_class WHERE pg_table_is_visible(oid);
1557415574
<para>
1557515575
Each function performs the visibility check for one type of database
1557615576
object. Note that <function>pg_table_is_visible</function> can also be used
15577-
with views, indexes and sequences; <function>pg_type_is_visible</function>
15578-
can also be used with domains. For functions and operators, an object in
15577+
with views, materialized views, indexes, sequences and foreign tables;
15578+
<function>pg_type_is_visible</function> can also be used with domains.
15579+
For functions and operators, an object in
1557915580
the search path is visible if there is no object of the same name
1558015581
<emphasis>and argument data type(s)</> earlier in the path. For operator
1558115582
classes, both name and associated index access method are considered.

0 commit comments

Comments
 (0)