From 6c1261465470f1487fba0f3439bbdf3ff2cea818 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 29 Dec 2023 15:32:45 +0300 Subject: Adjust installation notes/script to comply with PostgreSQL 15 and above --- INSTALL-DEV | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'INSTALL-DEV') diff --git a/INSTALL-DEV b/INSTALL-DEV index ee9f980..8ebc5a3 100644 --- a/INSTALL-DEV +++ b/INSTALL-DEV @@ -55,6 +55,17 @@ CREATE USER "www-data" INHERIT IN ROLE ; CREATE USER "brep-build" INHERIT IN ROLE 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 : + +\c brep_package +GRANT ALL PRIVILEGES ON SCHEMA public TO ; + +\c brep_build +GRANT ALL PRIVILEGES ON SCHEMA public TO ; + Exit psql (^D), then make sure the logins work: $ psql -d brep_package -- cgit v1.1