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

fix: register geos codecs in postgis example main.go #5

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

sebdotv
Copy link
Contributor

@sebdotv sebdotv commented Aug 13, 2024

This fix is required to make main.go work.

Without it the following error is raised, even though main_test.go works fine:

go run examples/postgis/main.go --write
can't scan into dest[2]: cannot scan unknown type (OID 20937) in text format into **geos.Geom
exit status 1

@twpayne
Copy link
Owner

twpayne commented Aug 13, 2024

Thanks, the fix is also needed for -read, but I'll merge this PR and fix that.

@twpayne twpayne merged commit b84b56f into twpayne:master Aug 13, 2024
2 checks passed
twpayne added a commit that referenced this pull request Aug 13, 2024
Co-authored-by: sebdotv <sebdotv@gmail.com>
Co-authored-by: Tom Payne <twpayne@gmail.com>
@twpayne
Copy link
Owner

twpayne commented Aug 13, 2024

Patched in 4a39130. Thank you for the spot and fix!

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

Successfully merging this pull request may close these issues.

2 participants