Hi. I noticed that when clients (both psql and pgAdmin) disconnect or cancel, queries are often still running on the server. A few questions: 1) Is there a way to reconnect and get the results? 2) Is there a way to tell postgres to automatically stop all queries when the client who queried them disconnects? 3) Is there a way to see all queries whose clients have disconnected? 4) And finally: Why is this the behavior? Doesn't this keep some very long queries running which drain performance but don't seem to benefit anyone?
- [GENERAL] Clients disconnect but query still runs Robert James
- Re: [GENERAL] Clients disconnect but query still runs Tom Lane
- Re: [GENERAL] Clients disconnect but query still run... Robert James
- Re: [GENERAL] Clients disconnect but query still... Albe Laurenz
- Re: [GENERAL] Clients disconnect but query still... Craig Ringer
- Re: [GENERAL] Clients disconnect but query still run... Jasen Betts
- Re: [GENERAL] Clients disconnect but query still... Greg Stark
- Re: [GENERAL] Clients disconnect but query s... Tom Lane
- Re: [GENERAL] Clients disconnect but qu... Greg Stark
- Re: [GENERAL] Clients disconnect but query s... Craig Ringer