postgresql/src/include/storage
Simon Riggs 3bfcccc295 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
2010-01-10 15:44:28 +00:00
..
backendid.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
block.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
buf.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
buf_internals.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
buffile.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
bufmgr.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
bufpage.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
fd.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
freespace.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
fsm_internals.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
indexfsm.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
ipc.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
item.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
itemid.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
itemptr.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
large_object.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
lmgr.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
lock.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
lwlock.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
off.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
pg_sema.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
pg_shmem.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
pmsignal.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
pos.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
proc.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
procarray.h During Hot Standby, fix drop database when sessions idle. 2010-01-10 15:44:28 +00:00
procsignal.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
relfilenode.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
s_lock.h Use _mm_pause() for win64 spin_delay(), per note from Tsutomu Yamada. 2010-01-05 11:06:28 +00:00
shmem.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
sinval.h During Hot Standby, set DatabasePath correctly during relcache init file 2010-01-09 16:49:27 +00:00
sinvaladt.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
smgr.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
spin.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
standby.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00