Node version 14 exists without error on pool.query
See original GitHub issueconst { Pool } = require('pg')
const pool = new Pool({
ssl: {
rejectUnauthorized: false,
}
})
const na = await pool.query( "text " ).then( .. ).catch( .. )
console.log(' this line never prints ')
On node version 14, the process exits without printing any connection error(s), but on node 12 it works as expected.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
NodeJs and node-postgres code is not returning any ...
The current versions of node-postgres and pg-promise are not compatible with the latest version of node. I was using Node 14.
Read more >pg.QueryResult JavaScript and Node.js code examples
pgPool.connect((err, client, done) => { if (err) {console.error(err);} client.query('SELECT EXISTS (SELECT 1 FROM information_schema.tables WHERE ...
Read more >node-oracledb 5.5.0 Documentation for the Oracle Database ...
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT...
Read more >Node.js and MySQL Complete Tutorial - CodeForGeek
In this Node js and MySQL tutorial, we are going to learn how to connect Node js server with MySQL database. We will...
Read more >Database Engine events and errors - SQL Server
Too many table names in the query. The maximum allowable is %d. 107, 15, No, The column prefix '%.*ls' does not match with...
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 FreeTop 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
Top GitHub Comments
pg ≤ 8.0.2 doesn’t support Node 14. Please upgrade to pg 8.2.1.
Thank you 😃