Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b538443

Browse files
committed
Removed .template suffix from example confs.
1 parent 7fa224b commit b538443

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

bin/shardman_init.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ for datadir in $lord_datadir "${worker_datadirs[@]}"; do
2222
initdb -D "$datadir"
2323
done
2424

25-
cat postgresql.conf.common.template >> ${lord_datadir}/postgresql.conf
26-
cat postgresql.conf.lord.template >> ${lord_datadir}/postgresql.conf
25+
cat postgresql.conf.common >> ${lord_datadir}/postgresql.conf
26+
cat postgresql.conf.lord >> ${lord_datadir}/postgresql.conf
2727
for worker_datadir in "${worker_datadirs[@]}"; do
28-
cat postgresql.conf.common.template >> ${worker_datadir}/postgresql.conf
29-
cat postgresql.conf.worker.template >> ${worker_datadir}/postgresql.conf
28+
cat postgresql.conf.common >> ${worker_datadir}/postgresql.conf
29+
cat postgresql.conf.worker >> ${worker_datadir}/postgresql.conf
3030
done
3131

3232
start_nodes
File renamed without changes.
File renamed without changes.

postgresql.conf.worker.template renamed to postgresql.conf.worker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# for each replica shard of t lying on A
55
# mrs++
66
#
7-
# So it is 1 + 1 = 2 for node A from example in postgresql.conf.common.template
7+
# So it is 1 + 1 = 2 for node A from example in postgresql.conf.common
88
max_logical_replication_workers = 50
99
# At least max_logical_replication_workers + 1
1010
max_worker_processes = 60

readme.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,10 @@ shared_preload_libraries, restart the server and run
6161

6262
create extension pg_shardman cascade;
6363

64-
Have a look at postgresql.conf.common.template and postgresql.conf.lord.template
65-
example configuration files. The former contains all shardman's and important
66-
PostgreSQL GUCs for either shardlord and workers, the latter for shardlord only
67-
-- in particular, shardman.shardlord defines whether the instance is shardlord or
68-
not.
64+
Have a look at postgresql.conf.common and postgresql.conf.lord example
65+
configuration files. The former contains all shardman's and important PostgreSQL
66+
GUCs for either shardlord and workers, the latter for shardlord only -- in
67+
particular, shardman.shardlord defines whether the instance is shardlord or not.
6968

7069
Currently extension scheme is fixed, it is, who would have thought, 'shardman'.
7170

0 commit comments

Comments
 (0)