|
| 1 | +diff --git a/pg_partman.control b/pg_partman.control |
| 2 | +index 1409f6a..40238fe 100644 |
| 3 | +--- a/pg_partman.control |
| 4 | ++++ b/pg_partman.control |
| 5 | +@@ -1,3 +1,4 @@ |
| 6 | + default_version = '5.1.0' |
| 7 | + comment = 'Extension to manage partitioned tables by time or ID' |
| 8 | + relocatable = false |
| 9 | ++superuser = false |
| 10 | +diff --git a/updates/pg_partman--4.6.0--4.6.1.sql b/updates/pg_partman--4.6.0--4.6.1.sql |
| 11 | +index ad79791..bf647d7 100644 |
| 12 | +--- a/updates/pg_partman--4.6.0--4.6.1.sql |
| 13 | ++++ b/updates/pg_partman--4.6.0--4.6.1.sql |
| 14 | +@@ -5498,7 +5498,7 @@ $$; |
| 15 | + |
| 16 | + |
| 17 | + CREATE OR REPLACE FUNCTION @ [email protected]_epoch_type (p_type text) RETURNS boolean |
| 18 | +- LANGUAGE plpgsql IMMUTABLE SECURITY DEFINER |
| 19 | ++ LANGUAGE plpgsql IMMUTABLE SECURITY INVOKER |
| 20 | + SET search_path TO pg_catalog, pg_temp |
| 21 | + AS $$ |
| 22 | + DECLARE |
| 23 | +diff --git a/updates/pg_partman--4.8.0--5.0.0.sql b/updates/pg_partman--4.8.0--5.0.0.sql |
| 24 | +index b4cfbef..b1b7765 100644 |
| 25 | +--- a/updates/pg_partman--4.8.0--5.0.0.sql |
| 26 | ++++ b/updates/pg_partman--4.8.0--5.0.0.sql |
| 27 | +@@ -790,7 +790,7 @@ CREATE OR REPLACE FUNCTION @ [email protected]_name_length ( |
| 28 | + , p_table_partition boolean DEFAULT FALSE |
| 29 | + ) |
| 30 | + RETURNS text |
| 31 | +- LANGUAGE plpgsql IMMUTABLE SECURITY DEFINER |
| 32 | ++ LANGUAGE plpgsql IMMUTABLE SECURITY INVOKER |
| 33 | + SET search_path TO pg_catalog, pg_temp |
| 34 | + AS $$ |
| 35 | + DECLARE |
| 36 | +diff --git a/updates/pg_partman--5.0.1--5.1.0.sql b/updates/pg_partman--5.0.1--5.1.0.sql |
| 37 | +index e48791e..6e5e0cc 100644 |
| 38 | +--- a/updates/pg_partman--5.0.1--5.1.0.sql |
| 39 | ++++ b/updates/pg_partman--5.0.1--5.1.0.sql |
| 40 | +@@ -2696,7 +2696,7 @@ $$; |
| 41 | + |
| 42 | + |
| 43 | + CREATE OR REPLACE FUNCTION @ [email protected]_partition_type (p_type text) RETURNS boolean |
| 44 | +- LANGUAGE plpgsql IMMUTABLE SECURITY DEFINER |
| 45 | ++ LANGUAGE plpgsql IMMUTABLE SECURITY INVOKER |
| 46 | + SET search_path TO pg_catalog, pg_temp |
| 47 | + AS $$ |
| 48 | + DECLARE |
0 commit comments