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

handle popular postgres extensions #66

Open
achristmascarl opened this issue Sep 17, 2024 · 0 comments
Open

handle popular postgres extensions #66

achristmascarl opened this issue Sep 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@achristmascarl
Copy link
Owner

achristmascarl commented Sep 17, 2024

description

for types that aren't specifically handled, rainfrog just attempts to cast them to a string. for some of the most popular postgres extensions (starting with postgis and pgvector), we should make sure to explicitly handle those types.

proposed solution

explicitly decode types from popular postgres extensions

postgis

this might be a bit challenging, as sqlx doesnt support geometric types (launchbadge/sqlx#166). it looks like it may be possible to decode postgis types with georust (launchbadge/sqlx#166 (comment))

pgvector

there's pgvector-rust which might help

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

No branches or pull requests

1 participant