Skip to content

Implement selective compression #7

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

Open
wants to merge 3 commits into
base: libpq_compression
Choose a base branch
from

Conversation

usernamedt
Copy link
Contributor

@usernamedt usernamedt commented Feb 8, 2021

In this PR, I propose implementing the selective switchable on the fly compression.
Also, in this pull request, I’ve made the following changes:

  • extracted the general-purpose streaming compression API into the separate structure (ZStream) so it can be used in other places without tx_func and rx_func,
    maybe the other compression patches can utilize it?
  • made some refactoring of ZpqStream
  • moved the SSL and ZPQ buffered read data checks into separate function pqReadPending

@usernamedt
Copy link
Contributor Author

Looks like PR needs rebase, I'll do that shortly.

Separate general-purpose compression stream and zpq stream
@usernamedt usernamedt force-pushed the implement-selective-compression branch from 378c83d to 0a9c70d Compare February 10, 2021 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant