Support Extended Query
trietphm opened this issue · comments
Do you have any plan to support the Extended Query?
https://www.postgresql.org/docs/current/protocol-flow.html#PROTOCOL-FLOW-EXT-QUERY
I can try implementing it but I don't know the detailed specs to start with.
Hi 👋, I recently started to work on the extended query protocol.
The jackc/pgx
driver uses the extended query protocol and is included within the tests. Feel free to uncomment the test case and check it out.
I have just pushed my changes to a feature branch (feat/extended-queries). Feel free to check it out and open a discussion / issue if you would like to work on something.
I am planning to make this feature compatible with the simple query handler allowing to handle complex queries with just a single handler. Extended query handlers and components could be overridden through options. I have made an draft for this feature within the feature branch.