Re: Very small patch for decode.c

From: Andres Freund <andres(at)anarazel(dot)de>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Konstantin Knizhnik <k(dot)knizhnik(at)postgrespro(dot)ru>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Very small patch for decode.c
Date: 2016-03-31 08:10:57
Message-ID: 20160331081057.GK13305@awork2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2016-03-31 08:13:14 Re: pg_xlogdump fails to handle WAL file with multi-page XLP_FIRST_IS_CONTRECORD data
Previous Message Andres Freund 2016-03-31 08:10:31 Re: Correction for replication slot creation error message in 9.6