Using Node 'pg' library to connect to Amazon Redshift

孤街醉人 提交于 2019-12-11 02:54:20

问题


I am trying to connect my API to an instance of Redshift using the 'pg' library but I get the following error:

Possibly unhandled error: SET TIME ZONE is not supported
at Connection.parseE (/Users/henrylee/WebstormProjects/project-api/node_modules/pg/lib/connection.js:534:11)

I know Redshift doesn't support the setting of timezone, but I don't really care about that. I can't seem to find any help about how to get past this issue, so any inout would be greatly appreciated. Thanks!

来源:https://stackoverflow.com/questions/28178923/using-node-pg-library-to-connect-to-amazon-redshift

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!