Explorar o código

fix metric column suggestions

Sven Klemm %!s(int64=7) %!d(string=hai) anos
pai
achega
be978d1a8f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      public/app/plugins/datasource/postgres/meta_query.ts

+ 1 - 1
public/app/plugins/datasource/postgres/meta_query.ts

@@ -121,7 +121,7 @@ table_schema IN (
         break;
       }
       case 'metric': {
-        query += " AND data_type IN ('text','char','varchar')";
+        query += " AND data_type IN ('text','character','character varying')";
         break;
       }
       case 'value': {