You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created the engine with enable_hstore set to False in order to work with this Postgres version. I am already acquiring connections from this engine and querying selects and they're all working fine.
I've also created tables with implicit_returning=False, which I found in source code to prevent adding RETURNING clause, cause I've seen that is not a valid clause in this PostgreSQL version.
But now, I've seen that if no default is defined in column or is None, appears after awaiting query: AttributeError: 'NoneType' object has no attribute 'is_callable'
I don't see clearly how can I set specific dialect or to insert items... :(
Thank you in advance!
The text was updated successfully, but these errors were encountered:
Marruixu
changed the title
syntax error at or near «RETURNING» using PostgreSQL 8.1
Default value for autoincrementing column when inserting in PostgreSQL 8.1
May 11, 2018
Marruixu
changed the title
Default value for autoincrementing column when inserting in PostgreSQL 8.1
cannot insert in PostgreSQL 8.1
May 11, 2018
aiopg.sa doesn't check postgres server version and doesn't adopt a dialect to it.
PostgreSQL 8.1 is 13 years old and not supported anymore by Postgres team.
The library does not support it as well.
Hi,
Recap:
I'm using postgreSQL version 8.1.23 and I got this error:
This is the code that runs the insert from the demo code in README:
I've created the engine with enable_hstore set to False in order to work with this Postgres version. I am already acquiring connections from this engine and querying selects and they're all working fine.
I've also created tables with implicit_returning=False, which I found in source code to prevent adding RETURNING clause, cause I've seen that is not a valid clause in this PostgreSQL version.
But now, I've seen that if no default is defined in column or is None, appears after awaiting query:
AttributeError: 'NoneType' object has no attribute 'is_callable'
I don't see clearly how can I set specific dialect or to insert items... :(
Thank you in advance!
The text was updated successfully, but these errors were encountered: