Обсуждение: pgsql: Adjust GetLockConflicts() so that it uses TopMemoryContext when

Поиск
Список
Период
Сортировка

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

От
sriggs@postgresql.org (Simon Riggs)
Дата:
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)