OSDN Git Service

Adjust GetLockConflicts() so that it uses TopMemoryContext when
authorSimon Riggs <simon@2ndQuadrant.com>
Fri, 29 Jan 2010 19:45:12 +0000 (19:45 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Fri, 29 Jan 2010 19:45:12 +0000 (19:45 +0000)
commit29eedd312274a62dfc510be099873319762fdfcc
tree25f16b1ba9925cec380c20fc321a77cebb2258b0
parent6d2bc0a6cf5c8d9a3241a0d7afaf5ca8bf1f11ec
Adjust GetLockConflicts() so that it uses TopMemoryContext when
executed InHotStandby. Cleaner solution than using malloc or palloc
depending upon situation, as proposed by Tom.
src/backend/storage/lmgr/lock.c