-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedObject) type "blob" does not exist #90
Comments
Ok,
diff --git a/quetz/db_models.py b/quetz/db_models.py
index b4392f7..78fd100 100644
--- a/quetz/db_models.py
+++ b/quetz/db_models.py
@@ -4,7 +4,7 @@
import enum
from sqlalchemy import (
- BLOB,
+ LargeBinary,
Boolean,
Column,
DateTime,
@@ -21,7 +21,7 @@ from sqlalchemy.orm import relationship
from .database import Base
-UUID = BLOB(length=16)
+UUID = LargeBinary(length=16)
class User(Base):
I'm using Aurora serverless postgres (an AWS RDS) as the postgres backend which requires postgres 10.7. Are there version constraints on the postgres compatibility of quetz? Any ideas on what could be causing this? |
Hey, I think we have much better postgres compatibility now. @btel do you think we can close this? |
yes, this should work now |
With the following config, I tried to create a new quetz instance:
config (internal info masked with
{var}
)And got the following stack trace:
Looks like this might need to be replaced with the
LargeBinary
type according to this somewhat random github issue and the sqlalchemy docs. I'll give thisLargeBinary
thing a shot and report backThe text was updated successfully, but these errors were encountered: