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

From Alvaro Herrera
Subject Re: Very small patch for decode.c
Date
Msg-id 20160331024400.GA90848@alvherre.pgsql
Whole thread Raw
In response to Very small patch for decode.c  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Responses Re: Very small patch for decode.c
List pgsql-hackers
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.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Password identifiers, protocol aging and SCRAM protocol
Next
From: Thomas Munro
Date:
Subject: Re: Support for N synchronous standby servers - take 2