This commit is contained in:
ycc
2021-07-30 15:52:01 +02:00
parent eae0a37f50
commit 6f1cb9a2d0
8 changed files with 476 additions and 1 deletions

7
pg_init.sql Normal file
View File

@@ -0,0 +1,7 @@
-- Init on Linux :
-- 1) login as postgres user : sudo su postgres
-- 2) start script : psql -f pg_init.sql
CREATE ROLE test WITH PASSWORD 'test' NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN;
CREATE DATABASE test OWNER test encoding 'UTF8';
GRANT ALL PRIVILEGES ON DATABASE test TO test;