You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
In the query tool when choosing from 'select table', tables that exists in schema test-schema doesnt shows up, even if search_path for that user contains test-schema.
What you expected to happen:
That the tables are shown
How to reproduce it (as minimally and precisely as possible):
Postgres setup
CREATE SCHEMA "test-schema";
ALTER ROLE youruser SET search_path = "test-schema","public";
CREATE TABLE "test-schema".test(id bigint);
Add postgres as datasource and connect with User: youruser and try to create a graph and see if test-table is listed in the drop down.
Anything else we need to know?:
Its possible to write "test-schema".test in the table-field, its just that it isn't shown.
Environment:
Grafana version: v5.3.4 (commit: 69630b9)
Data source type & version: Postgresql V11
OS Grafana is installed on: Kubernetes, with helm, but its the offical docker image grafana/grafana
User OS & Browser: Linux, Firefox 69.0.2
Grafana plugins:
Others:
The text was updated successfully, but these errors were encountered:
But if same table exists in multiple schemas you wouldn't see which belongs to which schema in the GUI. I think the proper way to fix this is to add another field in the GUI, before table-field that is a schema-field so you could choose the correct schema and then choose table. It could default to public.
What happened:
In the query tool when choosing from 'select table', tables that exists in schema
test-schema
doesnt shows up, even ifsearch_path
for that user containstest-schema
.What you expected to happen:
That the tables are shown
How to reproduce it (as minimally and precisely as possible):
Postgres setup
Add postgres as datasource and connect with User:
youruser
and try to create a graph and see iftest
-table is listed in the drop down.Anything else we need to know?:
Its possible to write "test-schema".test in the table-field, its just that it isn't shown.
Environment:
grafana/grafana
The text was updated successfully, but these errors were encountered: