File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,18 +7,18 @@ set -o xtrace
7
7
8
8
sleep 1
9
9
10
- psql -h 127.0.0.1 -p 5432 -U postgres -f tests/sharding/query_routing_setup.sql
10
+ psql -e - h 127.0.0.1 -p 5432 -U postgres -f tests/sharding/query_routing_setup.sql
11
11
12
12
# Setup PgBench
13
13
pgbench -i -h 127.0.0.1 -p 6432
14
14
15
15
# Run it
16
16
pgbench -h 127.0.0.1 -p 6432 -t 500 -c 2
17
17
18
- psql -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_insert.sql
18
+ psql -e - h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_insert.sql
19
19
20
- psql -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_select.sql
20
+ psql -e - h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_select.sql
21
21
22
22
# psql -f tests/sharding/query_routing_test_validate.sql
23
23
24
- psql -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_primary_replica.sql
24
+ psql -e - h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_primary_replica.sql
You can’t perform that action at this time.
0 commit comments