Closed
Description
I have 15 Postgres 9.6 version clusters runned on different port on same ip, each cluster has near 150 databases
How automatically create read only user for each database on each cluster, using one prefix and cluster and database name as UserName (pref_Cluster1_Db1, pref__Cluster1_Db2 .. pref__Cluster1_Db235) with generate strong password for each user, excluding some db names
And as result create list of username:pass