Skip to content

fix: prevent TypeError in pg-query-stream with client-side query_timeout#280

Merged
JS-AK merged 1 commit into
masterfrom
fix/pg-core/streams
Oct 14, 2025
Merged

fix: prevent TypeError in pg-query-stream with client-side query_timeout#280
JS-AK merged 1 commit into
masterfrom
fix/pg-core/streams

Conversation

@JS-AK

@JS-AK JS-AK commented Oct 14, 2025

Copy link
Copy Markdown
Owner
  • Temporarily disable client.query_timeout and client.connectionParameters.query_timeout during streaming
  • Restore original values on stream end/error/close
  • Add double-release guard for pooled clients
  • Add tests for both pool and direct client scenarios
  • Fixes node-postgres issue #1860: "Query streams break with query_timeout"

- Temporarily disable client.query_timeout and client.connectionParameters.query_timeout during streaming
- Restore original values on stream end/error/close
- Add double-release guard for pooled clients
- Add tests for both pool and direct client scenarios
- Fixes node-postgres issue #1860: "Query streams break with query_timeout"
@JS-AK JS-AK merged commit 972e014 into master Oct 14, 2025
1 check passed
@JS-AK

JS-AK commented Oct 14, 2025

Copy link
Copy Markdown
Owner Author

🎉 This PR is included in version 3.48.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@JS-AK JS-AK added the released label Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant