Very small patch for decode.c - Mailing list pgsql-hackers

From Konstantin Knizhnik
Subject Very small patch for decode.c
Date
Msg-id 56FC2A47.6020302@postgrespro.ru
Whole thread Raw
Responses Re: Very small patch for decode.c
Re: Very small patch for decode.c
Re: Very small patch for decode.c
List pgsql-hackers
diff --git a/src/backend/replication/logical/decode.c b/src/backend/replication/logical/decode.c
index 2380ea2..a992662 100644
--- a/src/backend/replication/logical/decode.c
+++ b/src/backend/replication/logical/decode.c
@@ -488,7 +488,7 @@ DecodeCommit(LogicalDecodingContext *ctx, XLogRecordBuffer *buf, {        XLogRecPtr
origin_lsn= InvalidXLogRecPtr;        TimestampTz     commit_time = parsed->xact_time;
 
-       XLogRecPtr      origin_id = XLogRecGetOrigin(buf->record);
+       RepOriginId     origin_id = XLogRecGetOrigin(buf->record);        int                     i;

-- 
Konstantin Knizhnik
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company




pgsql-hackers by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: snapshot too old, configured by time
Next
From: Kevin Grittner
Date:
Subject: Re: snapshot too old, configured by time