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
user@pc:~/project$ npm start
> test@1.0.0
> node index.js
(node:293246) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
/home/user/project/node_modules/pg/lib/client.js:132
const error = this._ending ? new Error('Connection terminated') : new Error('Connection terminated unexpectedly')
^
Error: Connection terminated
at Connection.<anonymous> (/home/user/project/node_modules/pg/lib/client.js:132:36)
at Object.onceWrapper (node:events:627:28)
at Connection.emit (node:events:525:35)
at Socket.<anonymous> (/home/user/project/node_modules/pg/lib/connection.js:63:12)
at Socket.emit (node:events:513:28)
at TCP.<anonymous> (node:net:313:12)
Node.js v18.12.1
I try end a connection when end all tasks, by example:
The results is:
The versions:
PostgreSQL version: 12.14.
The text was updated successfully, but these errors were encountered: