Skip site navigation (1) Skip section navigation (2)

pgsql: Use malloc() in GetLockConflicts() when called InHotStandby to

From: sriggs(at)postgresql(dot)org (Simon Riggs)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use malloc() in GetLockConflicts() when called InHotStandby to
Date: 2010-01-28 10:05:38
Message-ID: 20100128100538.14F757541B9@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
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.

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

Responses

pgsql-committers by date

Next:From: Magnus HaganderDate: 2010-01-28 11:36:14
Subject: pgsql: Define INADDR_NONE on Solaris when it's missing.
Previous:From: Heikki LinnakangasDate: 2010-01-28 07:31:42
Subject: pgsql: Change a few remaining calls of XLogArchivingActive() to use

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group