aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xloginsert.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2015-08-07 15:08:51 +0200
committerAndres Freund <andres@anarazel.de>2015-08-07 15:10:00 +0200
commit37163e22bddb30a235c9748f49ad54d5e99db142 (patch)
tree2609ba0d15acc19fb848ad2885c091f82254ef0f /src/backend/access/transam/xloginsert.c
parent892a18ebf0eb2d4182efbcfe12e2ddc142da3693 (diff)
downloadpostgresql-37163e22bddb30a235c9748f49ad54d5e99db142.tar.gz
postgresql-37163e22bddb30a235c9748f49ad54d5e99db142.zip
Address points made in post-commit review of replication origins.
Amit reviewed the replication origins patch and made some good points. Address them. This fixes typos in error messages, docs and comments and adds a missing error check (although in a should-never-happen scenario). Discussion: CAA4eK1JqUBVeWWKwUmBPryFaje4190ug0y-OAUHWQ6tD83V4xg@mail.gmail.com Backpatch: 9.5, where replication origins were introduced.
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 0b89c0a7a2c..abd8420da69 100644
--- a/src/backend/access/transam/xloginsert.c
+++ b/src/backend/access/transam/xloginsert.c
@@ -73,7 +73,7 @@ static XLogRecData *mainrdata_head;
static XLogRecData *mainrdata_last = (XLogRecData *) &mainrdata_head;
static uint32 mainrdata_len; /* total # of bytes in chain */
-/* Should te in-progress insertion log the origin */
+/* Should the in-progress insertion log the origin? */
static bool include_origin = false;
/*