OSDN Git Service

Use malloc() in GetLockConflicts() when called InHotStandby to avoid repeated
authorSimon Riggs <simon@2ndQuadrant.com>
Thu, 28 Jan 2010 10:05:37 +0000 (10:05 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Thu, 28 Jan 2010 10:05:37 +0000 (10:05 +0000)
commitbcd8528f001f723d6c93648f5386152846384830
treea6199deedf7c0bd4178c43ecd535850efc4efb94
parente0e8b9634555f876570d3c1596a50419848a1046
Use malloc() in GetLockConflicts() when called InHotStandby to avoid repeated
palloc calls. Current code assumed this was already true, so this is a bug fix.
src/backend/storage/lmgr/lock.c