Skip to content

Commit d482117

Browse files
committed
Merge branch 'master' of gitlab.postgrespro.ru:s.kelvich/pg_tsdtm
2 parents c1e62b0 + 2d54d8a commit d482117

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
**/*.o
2-
**/*.so
31
tests/perf/pref
42
tests/perf/pref.linux
53

tests/deploy/roles/postgres/vars/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pg_config:
2222
- line: "fsync = off"
2323
- line: "autovacuum = off"
2424
- line: "listen_addresses = '*'"
25-
- line: "max_connections = 2048"
25+
- line: "max_connections = 512"
2626
- line: "max_prepared_transactions = 400"
2727
- line: "port = {{pg_port}}"
2828
pg_config_role:

tests/deploy/tsdm.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,44 +29,44 @@
2929

3030
- name: clone dtm sources
3131
git: repo=https://github.com/kelvich/pg_tsdtm.git
32-
dest=./pg_tsdtm
32+
dest=./pg_tsdtm_test
3333
accept_hostkey=yes
3434
update=yes
3535
register: dtm_sources
3636

3737
- name: build dtm
3838
shell: "PG_CONFIG={{pg_dst}}/bin/pg_config make clean && PG_CONFIG={{pg_dst}}/bin/pg_config make -j {{makejobs}} install"
3939
args:
40-
chdir: ./pg_tsdtm
40+
chdir: ./pg_tsdtm_test
4141
when: dtm_sources.changed
4242

4343
- name: enable dtm extension on datanodes
4444
lineinfile:
45-
dest: "postgrespro-data/postgresql.conf"
45+
dest: "~/postgrespro-data/postgresql.conf"
4646
regexp: "^shared_preload_libraries "
4747
line: "shared_preload_libraries = 'pg_dtm'"
4848
state: present
4949

5050
- name: enable dtm extension on datanodes
5151
lineinfile:
52-
dest: "postgrespro-data2/postgresql.conf"
52+
dest: "~/postgrespro-data2/postgresql.conf"
5353
regexp: "^shared_preload_libraries "
5454
line: "shared_preload_libraries = 'pg_dtm'"
5555
state: present
5656

5757
- name: enable dtm extension on datanodes
5858
lineinfile:
59-
dest: "postgrespro-data3/postgresql.conf"
59+
dest: "~/postgrespro-data3/postgresql.conf"
6060
regexp: "^shared_preload_libraries "
6161
line: "shared_preload_libraries = 'pg_dtm'"
6262
state: present
6363

6464
- name: restart postgrespro1
65-
command: "{{pg_dst}}/bin/pg_ctl restart -w -D ./postgrespro-data -l ./postgrespro-data/pg.log"
65+
command: "{{pg_dst}}/bin/pg_ctl restart -w -D ~/postgrespro-data -l ~/postgrespro-data/pg.log"
6666

6767
- name: restart postgrespro2
68-
command: "{{pg_dst}}/bin/pg_ctl restart -w -D ./postgrespro-data2 -l ./postgrespro-data/pg.log"
68+
command: "{{pg_dst}}/bin/pg_ctl restart -w -D ~/postgrespro-data2 -l ~/postgrespro-data/pg.log"
6969

7070
- name: restart postgrespro3
71-
command: "{{pg_dst}}/bin/pg_ctl restart -w -D ./postgrespro-data3 -l ./postgrespro-data/pg.log"
71+
command: "{{pg_dst}}/bin/pg_ctl restart -w -D ~/postgrespro-data3 -l ~/postgrespro-data/pg.log"
7272

0 commit comments

Comments
 (0)