pgsql: Add some optional code (conditionally compiled under #ifdef - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Add some optional code (conditionally compiled under #ifdef
Date
Msg-id 20060421164512.81FB711F87D0@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Add some optional code (conditionally compiled under #ifdef LWLOCK_STATS)
to track the number of LWLock acquisitions and the number of times we
block waiting for an LWLock, on a per-process basis.  After having needed
this twice in the past few months, seems like it should go into CVS.

Modified Files:
--------------
    pgsql/src/backend/storage/lmgr:
        lwlock.c (r1.38 -> r1.39)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/lwlock.c.diff?r1=1.38&r2=1.39)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Eliminate some no-longer-needed workarounds for palloc's old
Next
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Remove from TODO ability to edit pg_hba.conf, but add GRANT