aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xloginsert.c
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2018-12-06 11:05:39 -0500
committerStephen Frost <sfrost@snowman.net>2018-12-06 11:05:39 -0500
commita243c55326686b284fbe2c7b70f06d8a022b7dcc (patch)
tree2879e146a52ea099b47e4b61b6b76cb162c9872f /src/backend/access/transam/xloginsert.c
parent228b0485f471480cf825b7b30ffa3d66bd692c57 (diff)
downloadpostgresql-a243c55326686b284fbe2c7b70f06d8a022b7dcc.tar.gz
postgresql-a243c55326686b284fbe2c7b70f06d8a022b7dcc.zip
Cleanup comments in xlog compression
Skipping over the "hole" in full page images in the XLOG code was described as being a form of compression, but this got a bit confusing since we now have PGLZ-based compression happening, so adjust the wording to discuss "removing" the "hole" and keeping the talk about compression to where we're talking about using PGLZ-based compression of the full page images. Reviewed-By: Kyotaro Horiguchi Discussion: https://postgr.es/m/20181127234341.GM3415@tamriel.snowman.net
Diffstat (limited to 'src/backend/access/transam/xloginsert.c')
-rw-r--r--src/backend/access/transam/xloginsert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xloginsert.c b/src/backend/access/transam/xloginsert.c
index 34d4db42977..034d5b3b624 100644
--- a/src/backend/access/transam/xloginsert.c
+++ b/src/backend/access/transam/xloginsert.c
@@ -605,7 +605,7 @@ XLogRecordAssemble(RmgrId rmid, uint8 info,
}
else
{
- /* No "hole" to compress out */
+ /* No "hole" to remove */
bimg.hole_offset = 0;
cbimg.hole_length = 0;
}