Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKmAk-0002jD-I9 for pgsql-general@arkaria.postgresql.org; Tue, 13 Jun 2017 13:47:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dKmAj-0006NS-8P for pgsql-general@arkaria.postgresql.org; Tue, 13 Jun 2017 13:47:53 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dKm8I-00011S-Fh for pgsql-general@postgresql.org; Tue, 13 Jun 2017 13:45:22 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dKm84-00046R-Q3 for pgsql-general@postgresql.org; Tue, 13 Jun 2017 13:45:21 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v5DDisgD032521; Tue, 13 Jun 2017 09:44:54 -0400 From: Tom Lane To: Harry Ambrose cc: Achilleas Mantzios , adsj@novozymes.com, pgsql-general@postgresql.org Subject: Re: ERROR: unexpected chunk number 0 (expected 1) for toast value 76753264 in pg_toast_10920100 In-reply-to: References: <7pefuv53dl.fsf@novozymes.com> <15990.1496849265@sss.pgh.pa.us> <66E7E557-CED6-466B-9B9C-B0307CD95F13@gmail.com> <18860.1496853985@sss.pgh.pa.us> <6962.1496947781@sss.pgh.pa.us> <18953.1497282926@sss.pgh.pa.us> Comments: In-reply-to Harry Ambrose message dated "Tue, 13 Jun 2017 13:45:21 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <32519.1497361494.1@sss.pgh.pa.us> Date: Tue, 13 Jun 2017 09:44:54 -0400 Message-ID: <32520.1497361494@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org Harry Ambrose writes: > Not sure whether its relevant or not, however upon adding an ANALYSE before > the second vacuum the issue has not presented when testing. I have managed > 95 cycles thus far. I'm still unable to reproduce :-( --- I ran about two dozen cycles overnight with no sign of trouble. This time I was using a master/slave pair with the test database in a non-default partition, so neither of those aspects seem to be key after all. I suspect the reason for it being so hard to reproduce is that there's a timing window involved. But that doesn't offer much to go on in terms of being able to make a more reproducible case. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general