1
1
<!--
2
- $Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.149 2003/03/27 16:35:30 momjian Exp $
2
+ $Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.150 2003/03/27 16:45:51 momjian Exp $
3
3
PostgreSQL documentation
4
4
-->
5
5
@@ -6757,6 +6757,12 @@ SELECT relname FROM pg_class WHERE pg_table_is_visible(oid);
6757
6757
<entry><type>boolean</type></entry>
6758
6758
<entry>is operator class visible in search path</entry>
6759
6759
</row>
6760
+ <row>
6761
+ <entry><literal><function>pg_conversion_is_visible</function>(<parameter>conversion_oid</parameter>)</literal>
6762
+ </entry>
6763
+ <entry><type>boolean</type></entry>
6764
+ <entry>is conversion visible in search path</entry>
6765
+ </row>
6760
6766
</tbody>
6761
6767
</tgroup>
6762
6768
</table>
@@ -6776,16 +6782,20 @@ SELECT relname FROM pg_class WHERE pg_table_is_visible(oid);
6776
6782
<indexterm zone="functions-misc">
6777
6783
<primary>pg_opclass_is_visible</primary>
6778
6784
</indexterm>
6785
+ <indexterm zone="functions-misc">
6786
+ <primary>pg_conversion_is_visible</primary>
6787
+ </indexterm>
6779
6788
6780
6789
<para>
6781
6790
<function>pg_table_is_visible</function> performs the check for
6782
6791
tables (or views, or any other kind of <literal>pg_class</> entry).
6783
6792
<function>pg_type_is_visible</function>,
6784
6793
<function>pg_function_is_visible</function>,
6785
- <function>pg_operator_is_visible</function>, and
6786
- <function>pg_opclass_is_visible</function> perform the same sort of
6787
- visibility check for types, functions, operators, and operator
6788
- classes, respectively. For functions and operators, an object in
6794
+ <function>pg_operator_is_visible</function>,
6795
+ <function>pg_opclass_is_visible</function>, and
6796
+ <function>pg_conversion_is_visible</function> perform the same sort of
6797
+ visibility check for types, functions, operators, operator classes
6798
+ and conversions, respectively. For functions and operators, an object in
6789
6799
the search path is visible if there is no object of the same name
6790
6800
<emphasis>and argument data type(s)</> earlier in the path. For
6791
6801
operator classes, both name and associated index access method are
@@ -6833,8 +6843,8 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
6833
6843
extract information from the system catalogs.
6834
6844
<function>pg_get_viewdef</function>,
6835
6845
<function>pg_get_ruledef</function>,
6836
- <function>pg_get_indexdef() </function>,
6837
- <function>pg_get_triggerdef() </function>, and
6846
+ <function>pg_get_indexdef</function>,
6847
+ <function>pg_get_triggerdef</function>, and
6838
6848
<function>pg_get_constraintdef</function> respectively
6839
6849
reconstruct the creating command for a view, rule, index, or
6840
6850
constraint. (Note that this is a decompiled reconstruction, not
@@ -6872,9 +6882,9 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
6872
6882
<entry>get <command>CREATE INDEX</> command for index</entry>
6873
6883
</row>
6874
6884
<row>
6875
- <entry><function>pg_get_triggerdef</function>(<parameter>triggerOID </parameter>)</entry>
6885
+ <entry><function>pg_get_triggerdef</function>(<parameter>trigger_oid </parameter>)</entry>
6876
6886
<entry><type>text</type></entry>
6877
- <entry>Get <command>CREATE [ CONSTRAINT ] TRIGGER</> command for trigger</entry>
6887
+ <entry>get <command>CREATE [ CONSTRAINT ] TRIGGER</> command for trigger</entry>
6878
6888
</row>
6879
6889
<row>
6880
6890
<entry><literal><function>pg_get_constraintdef</function>(<parameter>constraint_oid</parameter>)</literal></entry>