File tree Expand file tree Collapse file tree 4 files changed +24
-1
lines changed Expand file tree Collapse file tree 4 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -13109,6 +13109,12 @@ SELECT relname FROM pg_class WHERE pg_table_is_visible(oid);
1310913109 <entry><type>boolean</type></entry>
1311013110 <entry>is operator visible in search path</entry>
1311113111 </row>
13112+ <row>
13113+ <entry><literal><function>pg_opfamily_is_visible(<parameter>opclass_oid</parameter>)</function></literal>
13114+ </entry>
13115+ <entry><type>boolean</type></entry>
13116+ <entry>is operator family visible in search path</entry>
13117+ </row>
1311213118 <row>
1311313119 <entry><literal><function>pg_table_is_visible(<parameter>table_oid</parameter>)</function></literal>
1311413120 </entry>
@@ -13164,6 +13170,9 @@ SELECT relname FROM pg_class WHERE pg_table_is_visible(oid);
1316413170 <indexterm>
1316513171 <primary>pg_operator_is_visible</primary>
1316613172 </indexterm>
13173+ <indexterm>
13174+ <primary>pg_opfamily_is_visible</primary>
13175+ </indexterm>
1316713176 <indexterm>
1316813177 <primary>pg_table_is_visible</primary>
1316913178 </indexterm>
Original file line number Diff line number Diff line change @@ -202,6 +202,7 @@ Datum pg_type_is_visible(PG_FUNCTION_ARGS);
202202Datum pg_function_is_visible (PG_FUNCTION_ARGS );
203203Datum pg_operator_is_visible (PG_FUNCTION_ARGS );
204204Datum pg_opclass_is_visible (PG_FUNCTION_ARGS );
205+ Datum pg_opfamily_is_visible (PG_FUNCTION_ARGS );
205206Datum pg_collation_is_visible (PG_FUNCTION_ARGS );
206207Datum pg_conversion_is_visible (PG_FUNCTION_ARGS );
207208Datum pg_ts_parser_is_visible (PG_FUNCTION_ARGS );
@@ -3897,6 +3898,17 @@ pg_opclass_is_visible(PG_FUNCTION_ARGS)
38973898 PG_RETURN_BOOL (OpclassIsVisible (oid ));
38983899}
38993900
3901+ Datum
3902+ pg_opfamily_is_visible (PG_FUNCTION_ARGS )
3903+ {
3904+ Oid oid = PG_GETARG_OID (0 );
3905+
3906+ if (!SearchSysCacheExists1 (OPFAMILYOID , ObjectIdGetDatum (oid )))
3907+ PG_RETURN_NULL ();
3908+
3909+ PG_RETURN_BOOL (OpfamilyIsVisible (oid ));
3910+ }
3911+
39003912Datum
39013913pg_collation_is_visible (PG_FUNCTION_ARGS )
39023914{
Original file line number Diff line number Diff line change 5353 */
5454
5555/* yyyymmddN */
56- #define CATALOG_VERSION_NO 201107031
56+ #define CATALOG_VERSION_NO 201107171
5757
5858#endif
Original file line number Diff line number Diff line change @@ -2829,6 +2829,8 @@ DATA(insert OID = 2082 ( pg_operator_is_visible PGNSP PGUID 12 1 0 0 0 f f f t
28292829DESCR ("is operator visible in search path?" );
28302830DATA (insert OID = 2083 ( pg_opclass_is_visible PGNSP PGUID 12 1 0 0 0 f f f t f s 1 0 16 "26" _null_ _null_ _null_ _null_ pg_opclass_is_visible _null_ _null_ _null_ ));
28312831DESCR ("is opclass visible in search path?" );
2832+ DATA (insert OID = 3829 ( pg_opfamily_is_visible PGNSP PGUID 12 1 0 0 0 f f f t f s 1 0 16 "26" _null_ _null_ _null_ _null_ pg_opfamily_is_visible _null_ _null_ _null_ ));
2833+ DESCR ("is opfamily visible in search path?" );
28322834DATA (insert OID = 2093 ( pg_conversion_is_visible PGNSP PGUID 12 1 0 0 0 f f f t f s 1 0 16 "26" _null_ _null_ _null_ _null_ pg_conversion_is_visible _null_ _null_ _null_ ));
28332835DESCR ("is conversion visible in search path?" );
28342836DATA (insert OID = 3756 ( pg_ts_parser_is_visible PGNSP PGUID 12 1 0 0 0 f f f t f s 1 0 16 "26" _null_ _null_ _null_ _null_ pg_ts_parser_is_visible _null_ _null_ _null_ ));
You can’t perform that action at this time.
0 commit comments