Replies: 1 comment 1 reply
-
The error comes from the server. Psycopg just send the commands to the server, it doesn't give them any meaning. So you have a genuine error in your sql. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using pyscopg 2.9.5.
Redshift introduced the MERGE syntax just recently (April 2023).
Question - Is it supported at all ?
It has two optional clauses:
I am able to use the former sql syntax, but the latter does not seem to be supported:
The tables are identical.
Query run:
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions