pgsql: Restore previous ordering of BUFFER_FLUSH_START probe. - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Restore previous ordering of BUFFER_FLUSH_START probe.
Date
Msg-id 20090313174622.005DF754AD4@cvs.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: dpage@pgfoundry.org (Dave Page)
Date:
Subject: stackbuilder - wizard: fix version number
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix identify_locking_dependencies to reflect the fact that