How to build a distributed pg-10.0 cluster?I do not find it from the pg 10.0 document.
If by distributed you mean multi-master that is still not a configuration supported by the core product.
The chapter on high availability, et al. discusses what is possible in the core product.
Logical replication, the new feature, gets its own chapter.
David J.