From d1a58e83a205ff8a346c71388b6436ac8a4e8192 Mon Sep 17 00:00:00 2001 From: Kane York Date: Tue, 28 Jul 2015 15:19:09 -0700 Subject: [PATCH] Data-explorer fix --- plugin.rb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugin.rb b/plugin.rb index 8010593..3b2d4fa 100644 --- a/plugin.rb +++ b/plugin.rb @@ -182,6 +182,14 @@ inner join pg_catalog.pg_statio_all_tables st on (c.table_schema = st.schemaname left outer join pg_catalog.pg_description pgd on (pgd.objoid = st.relid and pgd.objsubid = c.ordinal_position) where c.table_schema = 'public' ORDER BY c.table_name, c.ordinal_position +SQL + table_comment_results = ActiveRecord::Base.exec_sql < :users, + :'posts.version' => :'post_revisions.number', :'topics.featured_user1_id' => :users, :'topics.featured_user2_id' => :users,