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

readyset-data: Add format field to PassThrough struct #480

Closed

Commits on Aug 29, 2023

  1. readyset-data: Add format field to PassThrough struct

    This commit adds the new field, but doesn't do anything interesting with
    it yet. The plan is to use this to support passthrough of text-formatted
    parameters of unsupported types when we proxy queries, but for now we
    just hardcode the format to Binary everywhere so as to maintain the
    existing behavior.
    
    Followup commits will add support for encoding parameters as text in
    proxied queries when the format flag is set to do so, and once that's
    done we can actually set the format flag to Text and use the PassThrough
    type in the `get_text_value` function in the psql-srv decoder.
    
    Refs: #266
    Refs: REA-3183
    Change-Id: I3419ba96e1435b30b08f2bd154832da19afd2d59
    nickelization committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    feceeba View commit details
    Browse the repository at this point in the history