You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pg: client.query(sql, params) never sends its parameters to the server #10330
(on the turnloop-based path, the same error names an empty prepared-statement id: ...but prepared statement "" requires 1.) The parameters passed to query() never reach the wire-level Bind message on either transport.
Why it matters
Nothing in the repository tested this before Perry's P7 lane found it — there is no test-files/ fixture mentioning pg at all. Every Perry program that calls client.query(sql, [params]) — the standard, documented way to run a parameterized query against PostgreSQL — has been silently broken.
What would fix it
Trace where query()'s parameter array is dropped before the Bind message is constructed and wire it through. This is pre-existing on Perry's base commit and is not something either transport introduced.
Closing as obsolete: the native pg binding was removed in 6e0f111 (#10677, 2026-09-21); pg now compiles from source. This issue describes the removed native implementation, so it no longer applies. If the same behavior reproduces with the real npm package compiled from source on current main, please open a new issue against that path.
Activity
TheHypnoo commentedon Sep 28, 2026
Closing as obsolete: the native pg binding was removed in 6e0f111 (#10677, 2026-09-21); pg now compiles from source. This issue describes the removed native implementation, so it no longer applies. If the same behavior reproduces with the real npm package compiled from source on current main, please open a new issue against that path.