psqlpy
psqlpy copied to clipboard
Add geo types support
trafficstars
Added geo types support from PostgreSQL and geo_types module in Rust.
Description
Motivation and Context
How has this been tested?
Screenshots (if appropriate):
Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist:
- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
Btw. Looks great! Hope to see the final version soon!
Today will update on using exceptions that changed after main branch merge
Add tests, please
Added fixes, now all geo types except polygon are working well! Have some troubles with writing polygon to databases, trying to figure out how to do it:
DriverError: Database engine exception: db error: ERROR: invalid number of points in external "polygon" value.