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
pg.connect("postgres://...",function(err,client,done){console.log('query');varq=client.query("select * from notexistingtable",[]);q.on('error',function(err){console.log('error');});q.on('end',function(){console.log('done');});});
result in:
query
error
But there is no done reported in console.
Documentation says about End event: "Emitted by the query when all rows have been returned or when an error has been encountered. In either circumstance, the query's execution is finished and it is no longer interacting with the connection."
Work fine in node-postgres 2.8.5.
The text was updated successfully, but these errors were encountered:
node 0.11.12, node-postgres 3.0.1
result in:
But there is no
done
reported in console.Documentation says about End event: "Emitted by the query when all rows have been returned or when an error has been encountered. In either circumstance, the query's execution is finished and it is no longer interacting with the connection."
Work fine in node-postgres 2.8.5.
The text was updated successfully, but these errors were encountered: