问题
I have created a master-slave postgreSQL (I have one cluster as main and the other one as hot_standby). All local host. I used the "pgpool.conf.sample" and changed the backend 1+2 for my master and slave nodes. whenever I open the pgpool and run show pool_nodes; I can see the master + slave but slave is on waiting status. If I return to the configuration file and turn on the master_slave_mode, now both nodes are "up" but they're standby and all goes through the master one. What i'm trying to do is that insert/update/delete will go to main and selects to slave. I work with CentOS 8 , Pgpool 2 , postgresql 12.
来源:https://stackoverflow.com/questions/65394658/cannot-configure-pgpool-with-master-and-slave-nodes