pg-query-stream fails with 7.5.0
See original GitHub issueUsing pg 7.4.3, works great.
Upgraded to 7.5.0 this morning and getting this stack trace:
/usr/lib/node_modules/@scriptollc/search-crawler/node_modules/pg/lib/client.js:277
if (self.activeQuery.name) {
^
TypeError: Cannot read property 'name' of null
at Connection.<anonymous> (/usr/lib/node_modules/@scriptollc/search-crawler/node_modules/pg/lib/client.js:277:26)
at emitOne (events.js:116:13)
at Connection.emit (events.js:211:7)
at Socket.<anonymous> (/usr/lib/node_modules/@scriptollc/search-crawler/node_modules/pg/lib/connection.js:124:12)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at TCP.onread (net.js:597:20)
The query being run is a very simple
format(`SELECT * FROM %I`, tableName)
Doesn’t matter which table in our database we use.
Happy to assist with anything you might need!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Not compatible with pg 7.50 · Issue #46 · brianc/node-pg-query-stream
This module became incompatible with pg's 'minor' update 7.5.0. Here you can see changes in query.submit function - it now returns null or...
Read more >pg-query-stream - npm
Postgres query result returned as readable stream. ... Start using pg-query-stream in your project by running `npm i pg-query-stream`.
Read more >Technical Notes 101 - QRadar 101 - IBM
QRadar support team technical notes, problem resolutions, and troubleshooting content, to provide expert knowledge to users.
Read more >https://gitee.com/opengauss/openGauss-connector-no...
pg -query-stream/test/async-iterator.ts | 116 + . ... your own promise"](https://github.com/brianc/node-postgres/pull/1518) + +### 7.5.0 + +- Better [error ...
Read more >Azure PowerShell release notes - Microsoft Learn
Added error message in the command Register-AzStackHCI if Arc is not ... Added new cmdlet to support query Load Balancer inbound nat rule ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
please feel free to reopen if the fix in pg-query-stream doesn’t fix your issue.
happy to help!
On Tue, Oct 23, 2018 at 9:35 AM Todd Kennedy notifications@github.com wrote: