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

Support for new libpq pipeline mode #100

Open
lrowe opened this issue Oct 2, 2021 · 0 comments
Open

Support for new libpq pipeline mode #100

lrowe opened this issue Oct 2, 2021 · 0 comments

Comments

@lrowe
Copy link

lrowe commented Oct 2, 2021

Postgres 14 added support for pipeline mode to libpq. "You can use it on old PostgreSQL versions so long as you're using a new libpq."

This seems like it would be very helpful for async Node applications allowing one to easily send all needed queries from an iteration of the event loop in one go. To achieve this currently I need to combine all the various queries I use into a single complex query (UNION ALL with an extra column identifying which of the combined queries the result is for.)

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

No branches or pull requests

1 participant