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 compatibility with pg 9.5 and lower #11

Merged
merged 1 commit into from
Feb 15, 2025
Merged

Fix compatibility with pg 9.5 and lower #11

merged 1 commit into from
Feb 15, 2025

Conversation

rjuju
Copy link
Owner

@rjuju rjuju commented Feb 15, 2025

The automatic tlist implementation doesn't cope well with fields defined as Option, as it relies on stringify to generate the target SQL type.

For now just intercept any field defined as Option, as the only problems happens in pg_aggregate.rs on pg 9.5 and below, but I should eventually find a better solution.

The automatic tlist implementation doesn't cope well with fields defined as
Option, as it relies on stringify to generate the target SQL type.

For now just intercept any field defined as Option<Text>, as the only problems
happens in pg_aggregate.rs on pg 9.5 and below, but I should eventually find a
better solution.
@rjuju rjuju self-assigned this Feb 15, 2025
@rjuju rjuju merged commit 4ddabfd into master Feb 15, 2025
1 check passed
@rjuju rjuju deleted the fix_pg95 branch February 15, 2025 02:22
@rjuju rjuju added the bug Something isn't working label Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant