Further minor improvement in generic_xlog.c: always say REGBUF_STANDARD.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 660d5fb856c61df2de2cedb26249404ffc58cb89
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-04-10T04:24:28Z
Releases: 9.6.0
Further minor improvement in generic_xlog.c: always say REGBUF_STANDARD.

Since we're requiring pages handled by generic_xlog.c to be standard
format, specify REGBUF_STANDARD when doing a full-page image, so that
xloginsert.c can compress out the "hole" between pd_lower and pd_upper.
Given the current API in which this path will be taken only for a newly
initialized page, the hole is likely to be particularly large in such
cases, so that this oversight could easily be performance-significant.
I don't notice any particular change in the runtime of contrib/bloom's
regression test, though.

Files

PathChange+/−
src/backend/access/transam/generic_xlog.c modified +2 −1