{"action":"closed","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/4977","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/4977/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/4977/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/4977/events","html_url":"https://github.com/sequelize/sequelize/issues/4977","id":120343690,"number":4977,"title":"sequelize table alias issue on postgres","user":{"login":"kidyfirst","id":2074642,"avatar_url":"https://avatars.githubusercontent.com/u/2074642?v=3","gravatar_id":"","url":"https://api.github.com/users/kidyfirst","html_url":"https://github.com/kidyfirst","followers_url":"https://api.github.com/users/kidyfirst/followers","following_url":"https://api.github.com/users/kidyfirst/following{/other_user}","gists_url":"https://api.github.com/users/kidyfirst/gists{/gist_id}","starred_url":"https://api.github.com/users/kidyfirst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kidyfirst/subscriptions","organizations_url":"https://api.github.com/users/kidyfirst/orgs","repos_url":"https://api.github.com/users/kidyfirst/repos","events_url":"https://api.github.com/users/kidyfirst/events{/privacy}","received_events_url":"https://api.github.com/users/kidyfirst/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-04T06:41:53Z","updated_at":"2015-12-04T06:51:32Z","closed_at":"2015-12-04T06:51:32Z","body":"when i use sequelize + postgres as follow.\r\n```\r\nvar shopInfo = yield ShopPV.findAll({\r\n     where: where\r\n});\r\n```\r\nit throw follow exception, maybe postgres don't support quotes, but the sequelize how to configurate\r\n```\r\nExecuting (default): SELECT \"statis_date\" AS \"StatisDate\", \"pcyd\" AS \"Source\", \"fshopid\" AS \"ShopId\", \"fshapname\" AS \"ShopName\", \"pv\" AS \"PV\", \"uv\" AS \"UV\" FROM \"bi_jifen_BuyPage_shopinfo_pcyd\" AS \"bi_jifen_BuyPage_shopinfo_pcyd\";\r\nerror SequelizeDatabaseError: relation \"bi_jifen_BuyPage_shopinfo_pcyd\" does not exist\r\n```"}}