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

Commit to PostgreSQL #95

Open
jace opened this issue Oct 14, 2016 · 1 comment
Open

Commit to PostgreSQL #95

jace opened this issue Oct 14, 2016 · 1 comment

Comments

@jace
Copy link
Member

jace commented Oct 14, 2016

Coaster currently provides much optional functionality that depends on PostgreSQL, providing workarounds for other databases. The JsonDict type in coaster.sqlalchemy, for instance, does client-side JSON parsing if the server isn't PostgreSQL.

However, since almost all our apps now depend on PostgreSQL and will not run on another database, the workarounds in Coaster are accumulated cruft preventing further commitment to PostgreSQL features such as xmin-based versioning.

Should Coaster depend on PostgreSQL as baseline, dropping support for other databases?

@jace
Copy link
Member Author

jace commented Feb 27, 2018

The xmin example here can be resolved with an optional mixin class that client apps can use. If it turns out to be harmless on SQLite and our current use cases, we add it to the base classes.

SQLite support is useful for tests, so we shouldn't abandon it entirely.

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

1 participant