Replies: 3 comments 1 reply
-
Have you checked that the queries you are using are valid PostgreSQL queries? That error means that the query you are using is invalid. Perhaps you used the default queries in the configuration file which are for SQLite? |
Beta Was this translation helpful? Give feedback.
-
@mdecimus I use indeed the default queries, but I can't see anything problematic with them. All the queries containing AND run against the postgres DB are executing successfully
Is there any way to print in the log the whole query behind the error ? Returning just the: syntax error at or near "AND" is not helpful when trying to debug it |
Beta Was this translation helpful? Give feedback.
-
OK found the problem: the "?" has to be replaced with "$1" in order for the queries to work in postgresql. |
Beta Was this translation helpful? Give feedback.
-
I have configured the mail server to use a postgresql DB, in which I've defined the required schema and a new user account.
When trying to connect to this new user account using thunderbird, I see in the logs the errors below:
Any idea what is causing them?
I'm aslo seeing these errors from time to time in the logs:
Thanks
Beta Was this translation helpful? Give feedback.
All reactions