brianc / node-postgres

PostgreSQL client for node.js.
https://node-postgres.com
MIT License
12.04k stars 1.21k forks source link

pool.end() resolves before the last pool.query() #3254

Open asadbek2021 opened 3 weeks ago

asadbek2021 commented 3 weeks ago

Here is the link to the issue: 2163

brianc commented 2 weeks ago

Hey - this is awesome, thank you! Sorry for the delay - I'm in the mountains in colorado until Monday so i'm a bit slow to respond. Will be a lot more avail when I get home...but thanks so much for fixing/improving this. been a long-standing little bug...nice to get it taken care of! ❤️

asadbek2021 commented 2 weeks ago

Hi! I should add some corrections though, now two other tests seem not passing so I will fix it

brianc commented 2 weeks ago

Hi! I should add some corrections though, now two other tests seem not passing so I will fix it

Howdy - looks like one of the tests for idle timeout still isn't passing - you still lookin' into that?

asadbek2021 commented 2 weeks ago

Hi! I should add some corrections though, now two other tests seem not passing so I will fix it

Howdy - looks like one of the tests for idle timeout still isn't passing - you still lookin' into that?

Yeah, I am trying to figure out what's wrong with that