Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ao1r9-00024t-2V for pgsql-committers@arkaria.postgresql.org; Thu, 07 Apr 2016 04:47:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ao1r8-0000dq-LT for pgsql-committers@arkaria.postgresql.org; Thu, 07 Apr 2016 04:47:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ao1qw-0000C5-5q for pgsql-committers@postgresql.org; Thu, 07 Apr 2016 04:47:34 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ao1qt-00064J-Dh for pgsql-committers@postgresql.org; Thu, 07 Apr 2016 04:47:33 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 390642023E for ; Thu, 7 Apr 2016 00:47:30 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Thu, 07 Apr 2016 00:47:30 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=npJ7ErtSak7ZGEb0iqe1yR66+VY=; b=hTDWo 1LoEOGe9IexN+GLKZPS1WaT5xwnPQHUMxTpQ6LY1+BzFQE1U8kWjSoCNS//2DxGI snNt1oZYykmIONQdpyj+SMV9SFa4EvscnJW0eeMC1FIQexKqyQWBL1IddMl4U1Wi K3I3s3TOK4wAafliO4s75wq81EILF6y/WBYQ3w= X-Sasl-enc: 2CCbymMAScSFklIPCrz/akbvdHIUCG/rX0wMnSeyYnOd 1460004449 Received: from intern.anarazel.de (unknown [46.189.18.204]) by mail.messagingengine.com (Postfix) with ESMTPA id D3BBEC00013; Thu, 7 Apr 2016 00:47:29 -0400 (EDT) Date: Thu, 7 Apr 2016 06:47:28 +0200 From: Andres Freund To: Fujii Masao Cc: Simon Riggs , pgsql-committers Subject: Re: pgsql: Generic Messages for Logical Decoding Message-ID: <20160407044728.afbjel7rihbkq3f6@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org 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