Skip to content

Refactor zpq_stream #6

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

Merged

Conversation

usernamedt
Copy link
Contributor

I propose to extract the logic which is common for all algorithms and decouple compressing and decompressing streams.

After implementing the proposed changes, we can then alter the protocol to enable different compression algorithm for each side.

--
Split compression and decompression algorithms
Extract common socket read/write logic from algorithm implementations
@knizhnik knizhnik merged commit 1083198 into postgrespro:libpq_compression Jan 11, 2021
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.

2 participants