Skip to content

Commit 4f1619d

Browse files
committed
work
1 parent cf97e06 commit 4f1619d

File tree

2 files changed

+5
-44
lines changed

2 files changed

+5
-44
lines changed

.idea/compiler.xml

Lines changed: 1 addition & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

etc/db/setup-postgresql-account-and-db.sql

Lines changed: 4 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ CREATE TABLESPACE tablespace_simpleworklist
2020
OWNER tw
2121
LOCATION '/opt/postgresql/tablespace_simpleworklist';
2222

23+
CREATE TABLESPACE tablespace_simpleworklist
24+
OWNER tw
25+
LOCATION 'C:\tablespace_pg\simpleworklist';
26+
2327
ALTER TABLESPACE tablespace_simpleworklist
2428
OWNER TO simpleworklist;
2529

@@ -34,38 +38,3 @@ CREATE DATABASE simpleworklistref
3438
ENCODING = 'UTF8'
3539
TABLESPACE = tablespace_simpleworklist
3640
CONNECTION LIMIT = -1;
37-
38-
39-
40-
41-
42-
43-
CREATE ROLE petclinic_jakartaee LOGIN
44-
PASSWORD 'petclinic_jakartaeepwd'
45-
SUPERUSER INHERIT CREATEDB CREATEROLE REPLICATION;
46-
GRANT pg_monitor TO petclinic_jakartaee;
47-
GRANT pg_read_all_settings TO petclinic_jakartaee;
48-
GRANT pg_read_all_stats TO petclinic_jakartaee;
49-
GRANT pg_signal_backend TO petclinic_jakartaee;
50-
GRANT pg_stat_scan_tables TO petclinic_jakartaee;
51-
52-
53-
-- Database: petclinic_jakartaee
54-
55-
-- DROP DATABASE petclinic_jakartaee;
56-
-- CONNECTION LIMIT = -1;
57-
58-
CREATE TABLESPACE tablespace_petclinic_jakartae
59-
OWNER tw
60-
LOCATION '/opt/postgresql/tablespace_petclinic_jakartae';
61-
62-
ALTER TABLESPACE tablespace_petclinic_jakartae
63-
OWNER TO simpleworklist;
64-
65-
CREATE DATABASE petclinic_jakartaee
66-
WITH OWNER = petclinic_jakartaee
67-
ENCODING = 'UTF8'
68-
TABLESPACE = tablespace_petclinic_jakartae
69-
CONNECTION LIMIT = -1;
70-
71-

0 commit comments

Comments
 (0)