Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group