pgsql: Restore previous ordering of BUFFER_FLUSH_START probe.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Restore previous ordering of BUFFER_FLUSH_START probe.
Date: 2009-03-13 17:46:21
Message-ID: 20090313174622.005DF754AD4@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Restore previous ordering of BUFFER_FLUSH_START probe. I had wanted to
make it include the time for the possible smgropen() call, but that
results in a null pointer dereference :-(.

An alternative solution would be to fetch the buffer tag instead of
looking at *reln, but I'll just put it back as it was for the moment.

BTW, this indicates that DTrace probes evaluate their arguments even
when nominally inactive. What was that about "zero cost", again?

Modified Files:
--------------
pgsql/src/backend/storage/buffer:
bufmgr.c (r1.246 -> r1.247)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/buffer/bufmgr.c?r1=1.246&r2=1.247)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-03-13 22:50:45 pgsql: Fix identify_locking_dependencies to reflect the fact that
Previous Message Dave Page 2009-03-13 16:15:23 stackbuilder - wizard: fix version number