From a75443f8eae073323a23f4aa6e55f32f27ec0200 Mon Sep 17 00:00:00 2001 From: Yugo Nagata Date: Fri, 3 Jun 2022 15:53:41 +0900 Subject: [PATCH] Fix the test to grant create permissions on the public schema As of PG15, PUBLIC CREATE was revoked from public schema, so we have to grant it in contrib_regression database. --- expected/pg_ivm.out | 1 + sql/pg_ivm.sql | 1 + 2 files changed, 2 insertions(+) diff --git a/expected/pg_ivm.out b/expected/pg_ivm.out index 09b98ad..f4fb72c 100644 --- a/expected/pg_ivm.out +++ b/expected/pg_ivm.out @@ -1,4 +1,5 @@ CREATE EXTENSION pg_ivm; +GRANT ALL ON SCHEMA public TO public; -- create a table to use as a basis for views and materialized views in various combinations CREATE TABLE mv_base_a (i int, j int); INSERT INTO mv_base_a VALUES diff --git a/sql/pg_ivm.sql b/sql/pg_ivm.sql index 9db10fa..5689d8c 100644 --- a/sql/pg_ivm.sql +++ b/sql/pg_ivm.sql @@ -1,4 +1,5 @@ CREATE EXTENSION pg_ivm; +GRANT ALL ON SCHEMA public TO public; -- create a table to use as a basis for views and materialized views in various combinations CREATE TABLE mv_base_a (i int, j int);