Skip to content

Connect to Redshift - getting db error #302

Answered by wangxiaoying
micha-decker asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @micha-decker , can you try to add protocol="cursor" when you invoke read_sql? By default our postgres connection uses binary protocol which issues the "COPY" command, and redshift does not support this. You can check more details here: https://sfu-db.github.io/connector-x/databases/postgres.html#protocols

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by micha-decker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants