Master - Master setup on Postgresql 10 + Ubuntu 18.04 + Pgpool II
you can set up master - slave replication using pgpool, master-master is not supported. 
To set up active - active replication you will need to use tool like SymmetricDS.
Cheers!