3.8. Setting up pgpool.conf

For each Pgpool-II operation mode, there are sample configurations.

Table 3-1. pgpool.conf samples

Operation modeConfiguration file name
Streaming replication modepgpool.conf.sample-stream
Replication modepgpool.conf.sample-replication
Master slave modepgpool.conf.sample-master-slave
Raw modepgpool.conf.sample
Logical replication modepgpool.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