]> granicus.if.org Git - postgresql/commit
Restore previous ordering of BUFFER_FLUSH_START probe. I had wanted to
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 13 Mar 2009 17:46:21 +0000 (17:46 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 13 Mar 2009 17:46:21 +0000 (17:46 +0000)
commitd287c9eff0ba6e42f457ac71b07001f6e3ec3c90
treeabf44dd393d0d32f3444566e70b3fa82a875bfe7
parent2dd9af8c0c1eafedd340ed6fce0cd76d54820649
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?
src/backend/storage/buffer/bufmgr.c