-
Finding it weird that with CREATE TABLE IF NOT EXISTS table (
...
) psycopg2 throws an exception psycopg2.errors.SyntaxError: syntax error at or near "NOT"
LINE 2: CREATE TABLE IF NOT EXISTS Am I doing something wrong? |
Beta Was this translation helpful? Give feedback.
Answered by
dvarrazzo
Mar 15, 2022
Replies: 1 comment 1 reply
-
Probably you are using an old server version, not the one you think you are using. This is not a psycopg issue anyway: it's a response from a server. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bab014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Probably you are using an old server version, not the one you think you are using.
This is not a psycopg issue anyway: it's a response from a server.