From 406a1a9ef0beb0a7e3f58805ab2d3140e2202deb Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Wed, 5 Mar 2014 13:00:22 -0500 Subject: [PATCH] Fix some typos introduced by the logical decoding patch. Erik Rijkers --- src/backend/replication/logical/decode.c | 2 +- src/backend/replication/logical/logical.c | 4 ++-- src/backend/replication/logical/reorderbuffer.c | 2 +- src/backend/storage/ipc/procarray.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/backend/replication/logical/decode.c b/src/backend/replication/logical/decode.c index e8949aab324..af3948e8a4a 100644 --- a/src/backend/replication/logical/decode.c +++ b/src/backend/replication/logical/decode.c @@ -497,7 +497,7 @@ DecodeCommit(LogicalDecodingContext *ctx, XLogRecordBuffer *buf, /* ---- * Check whether we are interested in this specific transaction, and tell - * the the reorderbuffer to forget the content of the (sub-)transactions + * the reorderbuffer to forget the content of the (sub-)transactions * if not. * * There basically two reasons we might not be interested in this diff --git a/src/backend/replication/logical/logical.c b/src/backend/replication/logical/logical.c index 3c562383dff..13a22d4b2d2 100644 --- a/src/backend/replication/logical/logical.c +++ b/src/backend/replication/logical/logical.c @@ -179,7 +179,7 @@ StartupDecodingContext(List *output_plugin_options, * perform the use-case dependent, actual, work. * * Needs to be called while in a memory context that's at least as long lived - * as the the decoding context because further memory contexts will be created + * as the decoding context because further memory contexts will be created * inside it. * * Returns an initialized decoding context after calling the output plugin's @@ -334,7 +334,7 @@ CreateInitDecodingContext(char *plugin, * perform the use-case dependent, actual, work. * * Needs to be called while in a memory context that's at least as long lived - * as the the decoding context because further memory contexts will be created + * as the decoding context because further memory contexts will be created * inside it. * * Returns an initialized decoding context after calling the output plugin's diff --git a/src/backend/replication/logical/reorderbuffer.c b/src/backend/replication/logical/reorderbuffer.c index e7182338b89..ad560345b40 100644 --- a/src/backend/replication/logical/reorderbuffer.c +++ b/src/backend/replication/logical/reorderbuffer.c @@ -2741,7 +2741,7 @@ ReorderBufferToastReset(ReorderBuffer *rb, ReorderBufferTXN *txn) * * A tuple with a cmin but no cmax (and thus no combocid) got * deleted/updated in another transaction than the one which created it * which we are looking at right now. As only one of cmin, cmax or combocid - * is actually stored in the heap we don't have access to the the value we + * is actually stored in the heap we don't have access to the value we * need anymore. * * To resolve those problems we have a per-transaction hash of (cmin, diff --git a/src/backend/storage/ipc/procarray.c b/src/backend/storage/ipc/procarray.c index 3376a353a40..ac32d5cb625 100644 --- a/src/backend/storage/ipc/procarray.c +++ b/src/backend/storage/ipc/procarray.c @@ -1948,7 +1948,7 @@ GetOldestSafeDecodingTransactionId(void) /* * Acquire XidGenLock, so no transactions can acquire an xid while we're * running. If no transaction with xid were running concurrently a new xid - * could influence the the RecentXmin et al. + * could influence the RecentXmin et al. * * We initialize the computation to nextXid since that's guaranteed to be * a safe, albeit pessimal, value.