diff options
author | Andres Freund <andres@anarazel.de> | 2020-06-14 14:05:18 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2020-07-08 12:57:23 -0700 |
commit | 5e7bbb528638c0f6d585bab107ec7a19e3a39deb (patch) | |
tree | c01d61e45b23ef760e4225538ff24277346e34de /src/backend/access/transam/xlogutils.c | |
parent | 229f8c219f8fffacc253eca6023eab10a16eb009 (diff) | |
download | postgresql-5e7bbb528638c0f6d585bab107ec7a19e3a39deb.tar.gz postgresql-5e7bbb528638c0f6d585bab107ec7a19e3a39deb.zip |
code: replace 'master' with 'primary' where appropriate.
Also changed "in the primary" to "on the primary", and added a few
"the" before "primary".
Author: Andres Freund
Reviewed-By: David Steele
Discussion: https://postgr.es/m/20200615182235.x7lch5n6kcjq4aue@alap3.anarazel.de
Diffstat (limited to 'src/backend/access/transam/xlogutils.c')
-rw-r--r-- | src/backend/access/transam/xlogutils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/transam/xlogutils.c b/src/backend/access/transam/xlogutils.c index 322b0e8ff5b..b2ca0cd4cf3 100644 --- a/src/backend/access/transam/xlogutils.c +++ b/src/backend/access/transam/xlogutils.c @@ -654,8 +654,8 @@ XLogTruncateRelation(RelFileNode rnode, ForkNumber forkNum, * * We care about timelines in xlogreader when we might be reading xlog * generated prior to a promotion, either if we're currently a standby in - * recovery or if we're a promoted master reading xlogs generated by the old - * master before our promotion. + * recovery or if we're a promoted primary reading xlogs generated by the old + * primary before our promotion. * * wantPage must be set to the start address of the page to read and * wantLength to the amount of the page that will be read, up to @@ -878,7 +878,7 @@ read_local_xlog_page(XLogReaderState *state, XLogRecPtr targetPagePtr, * we actually read the xlog page, we might still try to read from the * old (now renamed) segment and fail. There's not much we can do * about this, but it can only happen when we're a leaf of a cascading - * standby whose master gets promoted while we're decoding, so a + * standby whose primary gets promoted while we're decoding, so a * one-off ERROR isn't too bad. */ XLogReadDetermineTimeline(state, targetPagePtr, reqLen); |