ERROR: relation "public.foo_bar" does not exist
Hello,
when I try to view certain tables in my postgres database, I get an error in DataGrip (and the postgresql log):
postgres_1 | 2018-05-25 09:20:55.985 UTC [373] ERROR: relation "public.foo_bar" does not exist at character 17
postgres_1 | 2018-05-25 09:20:55.985 UTC [373] STATEMENT: SELECT t.* FROM public.foo_bar t LIMIT 501
I know the table exists and is in the 'public' schema; other tables work, and I haven't been able to find out why some do and some don't.
Interestingly though, when I copy and paste the SELECT statement in the DataGrip console, it executes and returns as normal.
What could be the issue?
请先登录再写评论。
@Tomáš Mládek
Could you e-mail me full IDE log to vasily.chernov@jetbrains.com?
Do you want the 'stdout' console log of the IDE or a log of the SQL commands?
I mean logs that are mentioned here https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files
Sent.
Could you invoke quick doc action on your datasource and provide sample DDL to reproduce the problem?