postgresql/src/include/storage
Tom Lane f13a6f5abb Widen the nLocks counts in local lock tables from int to int64. This
forestalls potential overflow when the same table (or other object, but
usually tables) is accessed by very many successive queries within a single
transaction.  Per report from Michael Milligan.

Back-patch to 8.0, which is as far back as the patch conveniently applies.
There have been no reports of overflow in pre-8.3 releases, but clearly the
risk existed all along.  (Michael's report suggests that 8.3 may consume lock
counts faster than prior releases, but with no test case to look at it's hard
to be sure about that.  Widening the counts seems a good future-proofing
measure in any event.)
2008-09-16 01:56:35 +00:00
..
backendid.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
block.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
buf.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
buf_internals.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
buffile.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
bufmgr.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
bufpage.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
fd.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
freespace.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
ipc.h Repair two places where SIGTERM exit could leave shared memory state 2008-04-16 23:59:51 +00:00
item.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
itemid.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
itempos.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
itemptr.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
large_object.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
lmgr.h Fix PREPARE TRANSACTION to reject the case where the transaction has dropped a 2008-03-04 19:54:13 +00:00
lock.h Widen the nLocks counts in local lock tables from int to int64. This 2008-09-16 01:56:35 +00:00
lwlock.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
off.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
pg_sema.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
pg_shmem.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
pmsignal.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
pos.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
proc.h Change StatementCancelHandler() to check the DoingCommandRead flag to decide 2008-01-26 19:55:08 +00:00
procarray.h Fix CREATE INDEX CONCURRENTLY to not deadlock against an automatic or manual 2008-01-09 21:52:36 +00:00
relfilenode.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
s_lock.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
shmem.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
sinval.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
sinvaladt.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
smgr.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
spin.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00