File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change
1
+ -- create extension multimaster;
2
+ ALTER DATABASE " postgres" SET lc_messages TO ' C' ;
3
+ ALTER DATABASE " postgres" SET lc_monetary TO ' C' ;
4
+ ALTER DATABASE " postgres" SET lc_numeric TO ' C' ;
5
+ ALTER DATABASE " postgres" SET lc_time TO ' C' ;
6
+ ALTER DATABASE " postgres" SET timezone_abbreviations TO ' Default' ;
Original file line number Diff line number Diff line change 1
1
n_nodes=3
2
- export PATH=~ /code/postgres_cluster/install /bin/:$PATH
2
+ export PATH=~ /code/postgres_cluster/tmp_install /bin/:$PATH
3
3
ulimit -c unlimited
4
4
pkill -9 postgres
5
5
pkill -9 arbiter
19
19
port=$(( 5431 + i))
20
20
raft_port=$(( 6665 + i))
21
21
arbiter_port=$(( 7000 + i))
22
- conn_str=" $conn_str ${sep} dbname=regression user=stas host=127.0.0.1 port=$port arbiterport =$arbiter_port sslmode=disable"
22
+ conn_str=" $conn_str ${sep} dbname=regression user=stas host=127.0.0.1 port=$port arbiter_port =$arbiter_port sslmode=disable"
23
23
raft_conn_str=" $raft_conn_str ${sep}${i} :localhost:$raft_port "
24
24
sep=" ,"
25
25
initdb node$i
46
46
max_worker_processes = 15
47
47
max_replication_slots = 10
48
48
max_wal_senders = 10
49
- shared_preload_libraries = 'raftable, multimaster'
49
+ shared_preload_libraries = 'multimaster'
50
50
default_transaction_isolation = 'repeatable read'
51
51
52
52
multimaster.workers = 1
71
71
done
72
72
73
73
sleep 10
74
- psql regression < ../../../ regress.sql
74
+ psql regression < regress.sql
75
75
76
76
echo Done
You can’t perform that action at this time.
0 commit comments