pgsql: Adjust GetLockConflicts() so that it uses TopMemoryContext when

From: sriggs(at)postgresql(dot)org (Simon Riggs)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Adjust GetLockConflicts() so that it uses TopMemoryContext when
Date: 2010-01-29 19:45:12
Message-ID: 20100129194512.CBDFD7541B9@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Adjust GetLockConflicts() so that it uses TopMemoryContext when
executed InHotStandby. Cleaner solution than using malloc or palloc
depending upon situation, as proposed by Tom.

Modified Files:
--------------
pgsql/src/backend/storage/lmgr:
lock.c (r1.192 -> r1.193)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/lock.c?r1=1.192&r2=1.193)

Browse pgsql-committers by date

  From Date Subject
Next Message User Fxjr 2010-01-29 19:46:38 npgsql - Npgsql2: Added Tools/NAnt to Npgsql2
Previous Message User Fxjr 2010-01-29 19:40:33 npgsql - Npgsql2: New Directory