Re: pgsql: Generic Messages for Logical Decoding

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-committers <pgsql-committers(at)postgresql(dot)org>
Subject: Re: pgsql: Generic Messages for Logical Decoding
Date: 2016-04-07 12:12:52
Message-ID: CAHGQGwEo_GncJKTq1MrtCOiJL8cCP7xcgV8--m9OS32ELn8vuA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Thu, Apr 7, 2016 at 1:47 PM, Andres Freund <andres(at)anarazel(dot)de> wrote:
> On 2016-04-07 12:26:28 +0900, Fujii Masao wrote:
>> In my example, the WAL record of INSERT that I executed last should be in
>> 000000010000000000000005. But pg_xlogdump could not display that.
>> The output of pg_xlogdump was:
>>
>> $ pg_xlogdump data/pg_xlog/000000010000000000000005
>> pg_xlogdump: FATAL: could not find a valid record after 0/5000000
>>
>> ISTM that if a WAL file starts with the latter half of LOGICAL MESSAGE
>> WAL data, pg_xlogdump treats it as invalid and gives up dumping the
>> remaining WAL data in the file.
>
> That'd obviously be something to investigate. IIRC there's a thread
> nearby about something like this.

Okay, will check. Thanks for the info!

> But just to confirm, if you use -s
> over multiple records it works?

Yeah, it worked expected.

Regards,

--
Fujii Masao

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2016-04-07 15:57:30 Re: Re: [COMMITTERS] pgsql: Add trigonometric functions that work in degrees.
Previous Message Simon Riggs 2016-04-07 11:09:16 pgsql: Load FK defs into relcache for use by planner