pgAdmin error - relation “[name of function/Views/Trigger Functions]” does not exist

前端 未结 2 1551
名媛妹妹
名媛妹妹 2021-01-06 10:35

I\'m just new to pgAdmin, so I don\'t really know what causes these errors:

ERROR:  relation \"ongoingprojects\" doe         


        
2条回答
  •  爱一瞬间的悲伤
    2021-01-06 10:57

    For me the issue was having a schema named differently than the database.

    Two solutions:

    1) Modify schema name to match db name

    or

    2) Prepend table in query with schema name, eg: SELECT * FROM my_schema.ongoingProjects;

提交回复
热议问题