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 support for Postgres array of custom types #1483

Merged
merged 1 commit into from
Dec 29, 2021

Commits on Oct 9, 2021

  1. Fix support for Postgres array of custom types

    This commit fixes the array decoder to support custom types. The core of the issue was that the array decoder did not use the type info retrieved from the database. It means that it only supported native types.
    
    This commit fixes the issue by using the element type info fetched from the database. A new internal helper method is added to the `PgType` struct: it returns the type info for the inner array element, if available.
    
    Closes launchbadge#1477
    demurgos committed Oct 9, 2021
    Configuration menu
    Copy the full SHA
    ddd2b56 View commit details
    Browse the repository at this point in the history