aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-12-29 15:32:45 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-01-26 12:11:43 +0300
commit6c1261465470f1487fba0f3439bbdf3ff2cea818 (patch)
treeaf5cacda91deb2a773c5e21121d2aaec9df3a949 /INSTALL
parent7b3235be5c837f8ef74f099e5048251aeb17f093 (diff)
Adjust installation notes/script to comply with PostgreSQL 15 and above
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL11
1 files changed, 11 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index ebcf851..79d698f 100644
--- a/INSTALL
+++ b/INSTALL
@@ -171,6 +171,17 @@ CREATE USER MAPPING FOR PUBLIC
SERVER package_server
OPTIONS (user 'brep-build', password '-');
+Note that starting with PostgreSQL 15 only the database owner can create the
+objects in the public schema by default. Thus, if the PostgreSQL version is 15
+or above, then all the privileges on this schema in the created databases need
+to be granted explicitly by the postgres user to the brep user:
+
+\c brep_package
+GRANT ALL PRIVILEGES ON SCHEMA public TO brep;
+
+\c brep_build
+GRANT ALL PRIVILEGES ON SCHEMA public TO brep;
+
Exit psql (^D)
The user brep-build is required (by the postgres_fdw extension) to login with