import
This commit is contained in:
7
pg_init.sql
Normal file
7
pg_init.sql
Normal 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;
|
||||
Reference in New Issue
Block a user