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

Return rows as an AsyncStream instead of buffering. #128

Merged
merged 6 commits into from
Aug 19, 2019

Commits on Apr 30, 2019

  1. Return rows as an AsyncStream instead of buffering.

    This allows streaming large result sets instead of bufferring them.
    The change is fairly invasive because the state machine has to be adapted to allow returning a `PgResponse` before the client is allowed to dispatch other requests on the connection.
    This is handled in the dispatcher where it expects such `PgResponse`s to provide a signal to release the connection.
    
    NOTE: this doesn't apply the strategy to prepared statements yet. Looking for feedback before moving forward.
    plaflamme committed Apr 30, 2019
    Configuration menu
    Copy the full SHA
    1e99255 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2019

  1. Don't break the API.

    plaflamme committed Aug 5, 2019
    Configuration menu
    Copy the full SHA
    2e1804f View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2019

  1. Stream rows in the extended mode as well.

    This also applies the streaming of rows to the extended query mode.
    plaflamme committed Aug 6, 2019
    Configuration menu
    Copy the full SHA
    90b1c4f View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2019

  1. Configuration menu
    Copy the full SHA
    33d3cd7 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    plaflamme committed Aug 18, 2019
    Configuration menu
    Copy the full SHA
    7035ea7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4c5703b View commit details
    Browse the repository at this point in the history