diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2010-01-10 15:44:28 +0000 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2010-01-10 15:44:28 +0000 |
commit | 3bfcccc2954ce251e2aea6503c0d937c493db781 (patch) | |
tree | 4f8aa5492ae4baa610027cf97e2b5cd5920a3fb7 /src/backend/access/gist/gistxlog.c | |
parent | 87091cb1f1ed914e2ddca424fa28f94fdf8461d2 (diff) | |
download | postgresql-3bfcccc2954ce251e2aea6503c0d937c493db781.tar.gz postgresql-3bfcccc2954ce251e2aea6503c0d937c493db781.zip |
During Hot Standby, fix drop database when sessions idle.
Previously we only cancelled sessions that were in-transaction.
Simple fix is to just cancel all sessions without waiting. Doing
it this way avoids complicating common code paths, which would
not be worth the trouble to cover this rare case.
Problem report and fix by Andres Freund, edited somewhat by me
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions