Skip to content

Commit 6402054

Browse files
committed
tmp
1 parent 70ad836 commit 6402054

File tree

3 files changed

+54
-1
lines changed

3 files changed

+54
-1
lines changed

ansible/vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ postgres_major:
1111

1212
# Full version strings for each major version
1313
postgres_release:
14-
postgres15: "15.8.1.004-pgmq-perms-4"
14+
postgres15: "15.8.1.004-pgmq-perms-5"
1515
# postgres16: "16.3.1.010-pgmq-perms"
1616

1717
# Non Postgres Extensions
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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

nix/ext/pg_partman.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ stdenv.mkDerivation rec {
44
pname = "pg_partman";
55
version = "5.1.0";
66

7+
patches = [
8+
# Allow installing without superuser
9+
./allow-installing-without-superuser.patch
10+
];
11+
712
buildInputs = [ postgresql ];
813

914
src = fetchFromGitHub {

0 commit comments

Comments
 (0)