pgpool-II 4.0.6 Documentation | |||
---|---|---|---|
Prev | Up | Chapter 3. Installation of Pgpool-II | Next |
For each Pgpool-II operation mode, there are sample configurations.
Table 3-1. pgpool.conf samples
Operation mode | Configuration file name |
---|---|
Streaming replication mode | pgpool.conf.sample-stream |
Replication mode | pgpool.conf.sample-replication |
Master slave mode | pgpool.conf.sample-master-slave |
Raw mode | pgpool.conf.sample |
Logical replication mode | pgpool.conf.sample-logical |
These configuration files are located at /usr/local/etc with default installation from source code. You can copy one of them as pgpool.conf. (probably you need root privilege for this)
# cd /usr/local/etc # cp pgpool.conf.sample-stream pgpool.conf