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:09:05 +0200
commit18e8613564bf0a675d453eec1fceded7bce09988 (patch)
tree6924d6ec6ee97974fe6b6387e211535eff6b1390 /src/backend/access/transam/xloginsert.c
parentd6a8c943ab62317a5fca3b62224582d0d639df6b (diff)
downloadpostgresql-18e8613564bf0a675d453eec1fceded7bce09988.tar.gz
postgresql-18e8613564bf0a675d453eec1fceded7bce09988.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;
/*