Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

``relation doesn't exist error`` postgreSQL -- yes it does!

See original GitHub issue

Extension can see my database, connect, even see the tables. But when I make a query, I get a relation doesn't exist error.


FYI, the tables are in a named schema in db, not on public.

i.e. I’m connecting to myDB.myschema not just myDB

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

Bajdziscommented, Jul 15, 2018

@kasecato Thank you for your help 😉

kasecatocommented, Jul 14, 2018

Hi @ortonomy ,

Thank you for your reporting to me. I tried to fix this issue…

@Bajdzis , I just PR of this issue, please check it. 🙇

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot simply use PostgreSQL table name ("relation does not ...
From what I've read, this error means that you're not referencing the table name correctly. One common reason is that the table is...
Read more >
Postgres : Relation does not exist error - DBA Stack Exchange
But when I try to fire a select * query, it gave me this error: dump=> select * from Approvals; ERROR: relation "approvals"...
Read more >
PostGre SQL Data fetching issue - Appian Community
We have a Postgre SQL DB connected to Appian system, and we are trying to fetching ... JDBCExceptionReporter - ERROR: relation "AAF_Asset" does...
Read more >
Getting "relation does not exist error" when adding a table in ...
By default postgres looks into public schema. If your tables are in other schema, you can set search_path global variable in postgres for...
Read more >
Postgres "Relation <tablename> does not exist" - Get Help
Some online reading suggests these error are common in Postgres when there are upper/lower case issues with table names, but all our table...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found