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

From Andres Freund
Subject Re: Very small patch for decode.c
Date
Msg-id 20160331081057.GK13305@awork2.anarazel.de
Whole thread Raw
In response to Re: Very small patch for decode.c  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On 2016-03-30 23:44:00 -0300, Alvaro Herrera wrote:
> Konstantin Knizhnik wrote:
> > 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;
> 
> Pushed, thanks.

Thanks for finding Konstantin, and pushing Alvaro.



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Correction for replication slot creation error message in 9.6
Next
From: Andres Freund
Date:
Subject: Re: pg_xlogdump fails to handle WAL file with multi-page XLP_FIRST_IS_CONTRECORD data