psqlpy icon indicating copy to clipboard operation
psqlpy copied to clipboard

Add geo types support

Open Mernus opened this issue 1 year ago • 3 comments
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.

Mernus avatar Apr 09 '24 05:04 Mernus

Btw. Looks great! Hope to see the final version soon!

chandr-andr avatar May 08 '24 18:05 chandr-andr

Today will update on using exceptions that changed after main branch merge

Mernus avatar May 13 '24 06:05 Mernus

Add tests, please

chandr-andr avatar May 19 '24 07:05 chandr-andr

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.

Mernus avatar Jun 25 '24 19:06 Mernus