-- This file and its contents are licensed under the Timescale License.
-- Please see the included NOTICE for copyright information and
-- LICENSE-TIMESCALE for a copy of the license.
\pset tuples_only on
-- list all extension functions
-- any change in the output of this query requires adjustments
-- in the update and downgrade scripts
-- get_telemetry_report is excluded as it will not be present
-- when built with telemetry disabled
SELECT p.oid::regprocedure::text
FROM pg_proc p
  JOIN pg_depend d ON
    d.objid = p.oid AND
    d.deptype = 'e' AND
    d.refclassid = 'pg_extension'::regclass AND
    d.classid = 'pg_proc'::regclass
  JOIN pg_extension e ON
    e.extname = 'timescaledb' AND
    e.oid = d.refobjid
WHERE proname <> 'get_telemetry_report'
ORDER BY pronamespace::regnamespace::text COLLATE "C", p.oid::regprocedure::text COLLATE "C";
 _timescaledb_functions.align_to_bucket(interval,anyrange)
 _timescaledb_functions.alter_job_set_hypertable_id(integer,regclass)
 _timescaledb_functions.attach_osm_table_chunk(regclass,regclass)
 _timescaledb_functions.bloom1_contains(_timescaledb_internal.bloom1,anyelement)
 _timescaledb_functions.bloom1_contains_any(_timescaledb_internal.bloom1,anyarray)
 _timescaledb_functions.bloom1in(cstring)
 _timescaledb_functions.bloom1out(_timescaledb_internal.bloom1)
 _timescaledb_functions.bookend_deserializefunc(bytea,internal)
 _timescaledb_functions.bookend_finalfunc(internal,anyelement,"any")
 _timescaledb_functions.bookend_serializefunc(internal)
 _timescaledb_functions.cagg_get_bucket_function_info(integer)
 _timescaledb_functions.cagg_get_grouping_columns(regclass)
 _timescaledb_functions.cagg_validate_query(text)
 _timescaledb_functions.cagg_watermark(integer)
 _timescaledb_functions.cagg_watermark_materialized(integer)
 _timescaledb_functions.calculate_chunk_interval(integer,bigint,bigint)
 _timescaledb_functions.chunk_constraint_add_table_constraint(_timescaledb_catalog.chunk_constraint)
 _timescaledb_functions.chunk_id_from_relid(oid)
 _timescaledb_functions.chunk_rewrite_cleanup()
 _timescaledb_functions.chunk_status(regclass)
 _timescaledb_functions.chunk_status_text(integer)
 _timescaledb_functions.chunk_status_text(regclass)
 _timescaledb_functions.chunks_local_size(name,name)
 _timescaledb_functions.compressed_chunk_local_stats(name,name)
 _timescaledb_functions.compressed_data_column_size(_timescaledb_internal.compressed_data,anyelement)
 _timescaledb_functions.compressed_data_has_nulls(_timescaledb_internal.compressed_data)
 _timescaledb_functions.compressed_data_in(cstring)
 _timescaledb_functions.compressed_data_info(_timescaledb_internal.compressed_data)
 _timescaledb_functions.compressed_data_out(_timescaledb_internal.compressed_data)
 _timescaledb_functions.compressed_data_recv(internal)
 _timescaledb_functions.compressed_data_send(_timescaledb_internal.compressed_data)
 _timescaledb_functions.compressed_data_to_array(_timescaledb_internal.compressed_data,anyelement)
 _timescaledb_functions.constraint_clone(oid,regclass)
 _timescaledb_functions.create_chunk(regclass,jsonb,name,name,regclass)
 _timescaledb_functions.create_compressed_chunk(regclass,regclass,bigint,bigint,bigint,bigint,bigint,bigint,bigint,bigint)
 _timescaledb_functions.dimension_info_in(cstring)
 _timescaledb_functions.dimension_info_out(_timescaledb_internal.dimension_info)
 _timescaledb_functions.drop_chunk(regclass)
 _timescaledb_functions.drop_osm_chunk(regclass)
 _timescaledb_functions.estimate_compressed_batch_size(regclass)
 _timescaledb_functions.estimate_uncompressed_size(regclass)
 _timescaledb_functions.extension_state()
 _timescaledb_functions.first_combinefunc(internal,internal)
 _timescaledb_functions.first_sfunc(internal,anyelement,"any")
 _timescaledb_functions.freeze_chunk(regclass)
 _timescaledb_functions.generate_uuid()
 _timescaledb_functions.get_approx_row_count(regclass)
 _timescaledb_functions.get_compressed_chunk_index_for_recompression(regclass)
 _timescaledb_functions.get_create_command(name)
 _timescaledb_functions.get_git_commit()
 _timescaledb_functions.get_internal_time_max(regtype)
 _timescaledb_functions.get_internal_time_min(regtype)
 _timescaledb_functions.get_orderby_defaults(regclass,text[])
 _timescaledb_functions.get_os_info()
 _timescaledb_functions.get_partition_for_key(anyelement)
 _timescaledb_functions.get_partition_hash(anyelement)
 _timescaledb_functions.get_segmentby_defaults(regclass)
 _timescaledb_functions.hist_combinefunc(internal,internal)
 _timescaledb_functions.hist_deserializefunc(bytea,internal)
 _timescaledb_functions.hist_finalfunc(internal,double precision,double precision,double precision,integer)
 _timescaledb_functions.hist_serializefunc(internal)
 _timescaledb_functions.hist_sfunc(internal,double precision,double precision,double precision,integer)
 _timescaledb_functions.hypertable_local_size(name,name)
 _timescaledb_functions.hypertable_osm_range_update(regclass,anyelement,anyelement,boolean)
 _timescaledb_functions.index_matches(regclass,regclass)
 _timescaledb_functions.interval_to_usec(interval)
 _timescaledb_functions.job_history_bsearch(timestamp with time zone)
 _timescaledb_functions.jsonb_get_matching_index_entry(jsonb,text,text)
 _timescaledb_functions.last_combinefunc(internal,internal)
 _timescaledb_functions.last_sfunc(internal,anyelement,"any")
 _timescaledb_functions.make_multirange_from_internal_time(tsrange,bigint,bigint)
 _timescaledb_functions.make_multirange_from_internal_time(tstzrange,bigint,bigint)
 _timescaledb_functions.make_range_from_internal_time(anyrange,anyelement,anyelement)
 _timescaledb_functions.makeaclitem(regrole,regrole,text,boolean)
 _timescaledb_functions.metadata_insert_trigger()
 _timescaledb_functions.policy_compression(integer,jsonb)
 _timescaledb_functions.policy_compression_check(jsonb)
 _timescaledb_functions.policy_compression_execute(integer,integer,anyelement,integer,boolean,boolean,boolean,boolean)
 _timescaledb_functions.policy_job_stat_history_retention(integer,jsonb)
 _timescaledb_functions.policy_job_stat_history_retention_check(jsonb)
 _timescaledb_functions.policy_process_hypertable_invalidations(integer,jsonb)
 _timescaledb_functions.policy_process_hypertable_invalidations_check(jsonb)
 _timescaledb_functions.policy_recompression(integer,jsonb)
 _timescaledb_functions.policy_refresh_continuous_aggregate(integer,jsonb)
 _timescaledb_functions.policy_refresh_continuous_aggregate_check(jsonb)
 _timescaledb_functions.policy_reorder(integer,jsonb)
 _timescaledb_functions.policy_reorder_check(jsonb)
 _timescaledb_functions.policy_retention(integer,jsonb)
 _timescaledb_functions.policy_retention_check(jsonb)
 _timescaledb_functions.process_ddl_event()
 _timescaledb_functions.range_value_to_pretty(bigint,regtype)
 _timescaledb_functions.rebuild_columnstore(regclass)
 _timescaledb_functions.recompress_chunk_segmentwise(regclass,boolean)
 _timescaledb_functions.relation_approximate_size(regclass)
 _timescaledb_functions.relation_size(regclass)
 _timescaledb_functions.remove_dropped_chunk_metadata(integer)
 _timescaledb_functions.repair_relation_acls()
 _timescaledb_functions.restart_background_workers()
 _timescaledb_functions.show_chunk(regclass)
 _timescaledb_functions.start_background_workers()
 _timescaledb_functions.stop_background_workers()
 _timescaledb_functions.subtract_integer_from_now(regclass,bigint)
 _timescaledb_functions.time_to_internal(anyelement)
 _timescaledb_functions.to_date(bigint)
 _timescaledb_functions.to_interval(bigint)
 _timescaledb_functions.to_timestamp(bigint)
 _timescaledb_functions.to_timestamp_without_timezone(bigint)
 _timescaledb_functions.to_unix_microseconds(timestamp with time zone)
 _timescaledb_functions.tsl_loaded()
 _timescaledb_functions.unfreeze_chunk(regclass)
 _timescaledb_internal.alter_job_set_hypertable_id(integer,regclass)
 _timescaledb_internal.attach_osm_table_chunk(regclass,regclass)
 _timescaledb_internal.cagg_watermark(integer)
 _timescaledb_internal.cagg_watermark_materialized(integer)
 _timescaledb_internal.calculate_chunk_interval(integer,bigint,bigint)
 _timescaledb_internal.chunk_constraint_add_table_constraint(_timescaledb_catalog.chunk_constraint)
 _timescaledb_internal.chunk_id_from_relid(oid)
 _timescaledb_internal.chunk_status(regclass)
 _timescaledb_internal.chunks_local_size(name,name)
 _timescaledb_internal.compressed_chunk_local_stats(name,name)
 _timescaledb_internal.compressed_chunk_remote_stats(name,name)
 _timescaledb_internal.create_chunk(regclass,jsonb,name,name,regclass)
 _timescaledb_internal.create_compressed_chunk(regclass,regclass,bigint,bigint,bigint,bigint,bigint,bigint,bigint,bigint)
 _timescaledb_internal.drop_chunk(regclass)
 _timescaledb_internal.freeze_chunk(regclass)
 _timescaledb_internal.generate_uuid()
 _timescaledb_internal.get_approx_row_count(regclass)
 _timescaledb_internal.get_compressed_chunk_index_for_recompression(regclass)
 _timescaledb_internal.get_create_command(name)
 _timescaledb_internal.get_git_commit()
 _timescaledb_internal.get_os_info()
 _timescaledb_internal.get_partition_for_key(anyelement)
 _timescaledb_internal.get_partition_hash(anyelement)
 _timescaledb_internal.hypertable_local_size(name,name)
 _timescaledb_internal.interval_to_usec(interval)
 _timescaledb_internal.policy_compression(integer,jsonb)
 _timescaledb_internal.policy_compression_check(jsonb)
 _timescaledb_internal.policy_job_stat_history_retention(integer,jsonb)
 _timescaledb_internal.policy_job_stat_history_retention_check(jsonb)
 _timescaledb_internal.policy_recompression(integer,jsonb)
 _timescaledb_internal.policy_refresh_continuous_aggregate(integer,jsonb)
 _timescaledb_internal.policy_refresh_continuous_aggregate_check(jsonb)
 _timescaledb_internal.policy_reorder(integer,jsonb)
 _timescaledb_internal.policy_reorder_check(jsonb)
 _timescaledb_internal.policy_retention(integer,jsonb)
 _timescaledb_internal.policy_retention_check(jsonb)
 _timescaledb_internal.process_ddl_event()
 _timescaledb_internal.range_value_to_pretty(bigint,regtype)
 _timescaledb_internal.recompress_chunk_segmentwise(regclass,boolean)
 _timescaledb_internal.relation_size(regclass)
 _timescaledb_internal.restart_background_workers()
 _timescaledb_internal.show_chunk(regclass)
 _timescaledb_internal.start_background_workers()
 _timescaledb_internal.stop_background_workers()
 _timescaledb_internal.subtract_integer_from_now(regclass,bigint)
 _timescaledb_internal.time_to_internal(anyelement)
 _timescaledb_internal.to_date(bigint)
 _timescaledb_internal.to_interval(bigint)
 _timescaledb_internal.to_timestamp(bigint)
 _timescaledb_internal.to_timestamp_without_timezone(bigint)
 _timescaledb_internal.to_unix_microseconds(timestamp with time zone)
 _timescaledb_internal.tsl_loaded()
 _timescaledb_internal.unfreeze_chunk(regclass)
 clear_hypertable_cache()
 debug_waitpoint_enable(text)
 debug_waitpoint_id(text)
 debug_waitpoint_release(text)
 ts_now_mock()
 add_columnstore_policy(regclass,"any",boolean,interval,timestamp with time zone,text,interval)
 add_compression_policy(regclass,"any",boolean,interval,timestamp with time zone,text,interval)
 add_continuous_aggregate_policy(regclass,"any","any",interval,boolean,timestamp with time zone,text,boolean,integer,integer,boolean)
 add_dimension(regclass,_timescaledb_internal.dimension_info,boolean)
 add_dimension(regclass,name,integer,anyelement,regproc,boolean)
 add_job(regproc,interval,jsonb,timestamp with time zone,boolean,regproc,boolean,text,text)
 add_process_hypertable_invalidations_policy(regclass,interval,boolean,timestamp with time zone,text)
 add_reorder_policy(regclass,name,boolean,timestamp with time zone,text)
 add_retention_policy(regclass,"any",boolean,interval,timestamp with time zone,text,interval)
 alter_job(integer,interval,interval,integer,interval,boolean,jsonb,timestamp with time zone,boolean,regproc,boolean,timestamp with time zone,text,text)
 approximate_row_count(regclass)
 attach_chunk(regclass,regclass,jsonb)
 attach_tablespace(name,regclass,boolean)
 by_hash(name,integer,regproc)
 by_range(name,anyelement,regproc)
 chunk_columnstore_stats(regclass)
 chunk_compression_stats(regclass)
 chunks_detailed_size(regclass)
 compress_chunk(regclass,boolean,boolean)
 convert_to_columnstore(regclass,boolean,boolean)
 convert_to_rowstore(regclass,boolean)
 create_hypertable(regclass,_timescaledb_internal.dimension_info,boolean,boolean,boolean)
 create_hypertable(regclass,name,name,integer,name,name,anyelement,boolean,boolean,regproc,boolean,text,regproc,regproc)
 decompress_chunk(regclass,boolean)
 delete_job(integer)
 detach_chunk(regclass)
 detach_tablespace(name,regclass,boolean)
 detach_tablespaces(regclass)
 disable_chunk_skipping(regclass,name,boolean)
 drop_chunks(regclass,"any","any",boolean,"any","any")
 enable_chunk_skipping(regclass,name,boolean)
 first(anyelement,"any")
 generate_uuidv7()
 histogram(double precision,double precision,double precision,integer)
 hypertable_approximate_detailed_size(regclass)
 hypertable_approximate_size(regclass)
 hypertable_columnstore_stats(regclass)
 hypertable_compression_stats(regclass)
 hypertable_detailed_size(regclass)
 hypertable_index_size(regclass)
 hypertable_size(regclass)
 interpolate(bigint,record,record)
 interpolate(double precision,record,record)
 interpolate(integer,record,record)
 interpolate(real,record,record)
 interpolate(smallint,record,record)
 last(anyelement,"any")
 locf(anyelement,anyelement,boolean)
 merge_chunks(regclass,regclass,boolean)
 merge_chunks(regclass[])
 merge_chunks_concurrently(regclass[])
 move_chunk(regclass,name,name,regclass,boolean)
 recompress_chunk(regclass,boolean)
 refresh_continuous_aggregate(regclass,"any","any",boolean,jsonb)
 remove_columnstore_policy(regclass,boolean)
 remove_compression_policy(regclass,boolean)
 remove_continuous_aggregate_policy(regclass,boolean,boolean)
 remove_process_hypertable_invalidations_policy(regclass,boolean)
 remove_reorder_policy(regclass,boolean)
 remove_retention_policy(regclass,boolean)
 reorder_chunk(regclass,regclass,boolean)
 run_job(integer)
 set_adaptive_chunking(regclass,text,regproc)
 set_chunk_time_interval(regclass,anyelement,name)
 set_integer_now_func(regclass,regproc,boolean)
 set_number_partitions(regclass,integer,name)
 set_partitioning_interval(regclass,anyelement,name)
 show_chunks(regclass,"any","any","any","any")
 show_tablespaces(regclass)
 split_chunk(regclass,"any")
 time_bucket(bigint,bigint)
 time_bucket(bigint,bigint,bigint)
 time_bucket(integer,integer)
 time_bucket(integer,integer,integer)
 time_bucket(interval,date)
 time_bucket(interval,date,date)
 time_bucket(interval,date,interval)
 time_bucket(interval,timestamp with time zone)
 time_bucket(interval,timestamp with time zone,interval)
 time_bucket(interval,timestamp with time zone,text,timestamp with time zone,interval)
 time_bucket(interval,timestamp with time zone,timestamp with time zone)
 time_bucket(interval,timestamp without time zone)
 time_bucket(interval,timestamp without time zone,interval)
 time_bucket(interval,timestamp without time zone,timestamp without time zone)
 time_bucket(interval,uuid)
 time_bucket(interval,uuid,interval)
 time_bucket(interval,uuid,text,timestamp with time zone,interval)
 time_bucket(interval,uuid,timestamp with time zone)
 time_bucket(smallint,smallint)
 time_bucket(smallint,smallint,smallint)
 time_bucket_gapfill(bigint,bigint,bigint,bigint)
 time_bucket_gapfill(integer,integer,integer,integer)
 time_bucket_gapfill(interval,date,date,date)
 time_bucket_gapfill(interval,timestamp with time zone,text,timestamp with time zone,timestamp with time zone)
 time_bucket_gapfill(interval,timestamp with time zone,timestamp with time zone,timestamp with time zone)
 time_bucket_gapfill(interval,timestamp without time zone,timestamp without time zone,timestamp without time zone)
 time_bucket_gapfill(smallint,smallint,smallint,smallint)
 timescaledb_post_restore()
 timescaledb_pre_restore()
 to_uuidv7(timestamp with time zone)
 to_uuidv7_boundary(timestamp with time zone)
 uuid_timestamp(uuid)
 uuid_timestamp_micros(uuid)
 uuid_version(uuid)
 timescaledb_experimental.add_policies(regclass,boolean,"any","any","any","any")
 timescaledb_experimental.alter_policies(regclass,boolean,"any","any","any","any")
 timescaledb_experimental.remove_all_policies(regclass,boolean)
 timescaledb_experimental.remove_policies(regclass,boolean,text[])
 timescaledb_experimental.show_policies(regclass)

