We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a111503 commit fd837d6Copy full SHA for fd837d6
slony/see_replication_config.sql
@@ -0,0 +1,11 @@
1
+select set_id, master.no_comment as master,
2
+ array_to_string(array_agg(replicas.no_comment), ',') as replicas,
3
+ set_comment as replication_desc
4
+from sl_set
5
+join sl_node as master on set_origin = no_id
6
+join sl_subscribe ON set_id = sub_set
7
+join sl_node as replicas ON sub_receiver = replicas.no_id
8
+where sub_active
9
+ and replicas.no_active
10
+group by set_id, master.no_comment, set_comment
11
+order by set_id;
0 commit comments