Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant