Skip to content
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

Support postgres type: tstzrange #38

Open
jh-RLI opened this issue Nov 6, 2020 · 0 comments
Open

Support postgres type: tstzrange #38

jh-RLI opened this issue Nov 6, 2020 · 0 comments

Comments

@jh-RLI
Copy link
Contributor

jh-RLI commented Nov 6, 2020

I have tried to create a table using oem2orm. The table contains a column with the postgres-type tstzrange. It seems to me that the data type is not supported by the oedialect.

SQLAlchemy version:
sqlachemy: 1.3.16

Using this type:
from sqlalchemy.dialects.postgresql import TSTZRANGE

The exception I get back when creating tables (using sqlalchemy):
ConnectionException: HTTP 400 (Bad Request): Unknown type (tstzrange).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants