pgsql: Use malloc() in GetLockConflicts() when called InHotStandby to - Mailing list pgsql-committers

From sriggs@postgresql.org (Simon Riggs)
Subject pgsql: Use malloc() in GetLockConflicts() when called InHotStandby to
Date
Msg-id 20100128100538.14F757541B9@cvs.postgresql.org
Whole thread Raw
Responses Re: pgsql: Use malloc() in GetLockConflicts() when called InHotStandby to
List 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)

pgsql-committers by date:

Previous
From: heikki@postgresql.org (Heikki Linnakangas)
Date:
Subject: pgsql: Change a few remaining calls of XLogArchivingActive() to use
Next
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Define INADDR_NONE on Solaris when it's missing.