diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-04-25 15:59:57 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-04-25 15:59:57 -0400 |
commit | 4bfc5f1396b18da3a0db73e4406badc4ce793a1e (patch) | |
tree | c0d169da9570c2703f9db56b6bbb500629e2fc0e /src/backend/access/transam/xlog.c | |
parent | 49137ec9d469f744289d0dfa2487a7fc1ef217cb (diff) | |
download | postgresql-4bfc5f1396b18da3a0db73e4406badc4ce793a1e.tar.gz postgresql-4bfc5f1396b18da3a0db73e4406badc4ce793a1e.zip |
Fix off-by-one bug in LWLockRegisterTranche().
Original coding failed to enlarge the array as required if
the requested tranche_id was equal to LWLockTranchesAllocated.
In passing, fix poor style of not casting the result of (re)palloc.
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions