]> granicus.if.org Git - postgresql/commitdiff
Fix broken variable declaration
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 31 Mar 2016 02:39:15 +0000 (23:39 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 31 Mar 2016 02:39:15 +0000 (23:39 -0300)
Author: Konstantin Knizhnik

src/backend/replication/logical/decode.c

index 13af48524ab987a2218b35f74b05df72b843f367..f0bc67c7f5ee711bef833322ba9ac943134a9e0d 100644 (file)
@@ -476,7 +476,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;
 
        if (parsed->xinfo & XACT_XINFO_HAS_ORIGIN)