pgsql: Add some optional code (conditionally compiled under #ifdef

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add some optional code (conditionally compiled under #ifdef
Date: 2006-04-21 16:45:12
Message-ID: 20060421164512.81FB711F87D0@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2006-04-21 20:46:22 pgsql: Remove from TODO ability to edit pg_hba.conf, but add GRANT
Previous Message Tom Lane 2006-04-20 17:50:21 pgsql: Eliminate some no-longer-needed workarounds for palloc's old