Re: Very small patch for decode.c

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Konstantin Knizhnik <k(dot)knizhnik(at)postgrespro(dot)ru>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Very small patch for decode.c
Date: 2016-03-31 02:44:00
Message-ID: 20160331024400.GA90848@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2016-03-31 04:11:40 Re: Support for N synchronous standby servers - take 2
Previous Message Michael Paquier 2016-03-31 02:31:38 Re: Password identifiers, protocol aging and SCRAM protocol