-- \echo Use "CREATE EXTENSION pg_readonly" to load this file . \quit
DROP FUNCTION IF EXISTS set_cluster_readonly();
DROP FUNCTION IF EXISTS unset_cluster_readonly();
DROP FUNCTION IF EXISTS get_cluster_readonly();
--
CREATE FUNCTION set_cluster_readonly() RETURNS bool
 AS 'MODULE_PATHNAME', 'pgro_set_readonly'
 LANGUAGE C STABLE;
--
CREATE FUNCTION unset_cluster_readonly() RETURNS bool
 AS 'MODULE_PATHNAME', 'pgro_unset_readonly'
 LANGUAGE C STABLE;
--
CREATE FUNCTION get_cluster_readonly() RETURNS bool
 AS 'MODULE_PATHNAME', 'pgro_get_readonly'
 LANGUAGE C STABLE;
--

