From: Andres Freund <andres@anarazel.de>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: pgsql-committers <pgsql-committers@postgresql.org>
Subject: Re: pgsql: Generic Messages for Logical Decoding
Date: Thu, 7 Apr 2016 06:47:28 +0200
Message-ID: <20160407044728.afbjel7rihbkq3f6@alap3.anarazel.de> (raw)
In-Reply-To: <CAHGQGwEXrJbouHH9XaJH18J2A+0Uq6Ek9Z=BXsiOCK=9RczR+w@mail.gmail.com>
References: <E1anjRj-0000Nn-S3@gemulon.postgresql.org>
<CAHGQGwF3X1v5u8x+Nz_U5Ae_HJDpjGZVa9PXBw7LXQq7pwdeMA@mail.gmail.com>
<F6638F7F-4DBD-4776-917E-8B27939174ED@anarazel.de>
<CAHGQGwEXrJbouHH9XaJH18J2A+0Uq6Ek9Z=BXsiOCK=9RczR+w@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
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. But just to confirm, if you use -s
over multiple records it works?
Greetings,
Andres Freund
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de, masao.fujii@gmail.com, simon@2ndquadrant.com
Subject: Re: pgsql: Generic Messages for Logical Decoding
In-Reply-To: <20160407044728.afbjel7rihbkq3f6@alap3.anarazel.de>
References: <E1anjRj-0000Nn-S3@gemulon.postgresql.org> <CAHGQGwF3X1v5u8x+Nz_U5Ae_HJDpjGZVa9PXBw7LXQq7pwdeMA@mail.gmail.com> <F6638F7F-4DBD-4776-917E-8B27939174ED@anarazel.de> <CAHGQGwEXrJbouHH9XaJH18J2A+0Uq6Ek9Z=BXsiOCK=9RczR+w@mail.gmail.com> <20160407044728.afbjel7rihbkq3f6@alap3.anarazel.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox