cornucopia icon indicating copy to clipboard operation
cornucopia copied to clipboard

PostGIS support

Open heksesang opened this issue 2 years ago • 2 comments

It would be nice to support PostGIS extensions when generating code from schemas. Maybe add an option to choose what image will be used with the container?

heksesang avatar Sep 08 '23 11:09 heksesang

Considering Cornucopia as a replacement for sqlx, but my database uses PostGIS. Based on this bug, I guess using Cornucopia today in this way isn't possible?

nk9 avatar Apr 19 '24 02:04 nk9

Out of the box it isn't possible, no. If we could have https://github.com/cornucopia-rs/cornucopia/pull/208 merged, I believe that should be enough to enable it.

EDIT: Actually, we need a way to update the TypeRegistrar with the geometry type as well. It would be nice to also enable that in an extensible way to enable arbitrary extension support.

heksesang avatar May 15 '24 07:05 heksesang