Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1falNK-0007Nl-4g for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Jul 2018 17:15:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1falNH-0003vX-Sa for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Jul 2018 17:15:27 +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.89) (envelope-from ) id 1falNH-0003vH-Hu for pgsql-hackers@lists.postgresql.org; Wed, 04 Jul 2018 17:15:27 +0000 Received: from mail-qt0-x241.google.com ([2607:f8b0:400d:c0d::241]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1falND-00080m-RQ for pgsql-hackers@lists.postgresql.org; Wed, 04 Jul 2018 17:15:26 +0000 Received: by mail-qt0-x241.google.com with SMTP id q12-v6so5048512qtp.6 for ; Wed, 04 Jul 2018 10:15:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=B0MvSqTcLgcXdRKwPRNmjRGW7xD1ZPMEtjnhjdykrUc=; b=U7WsYPimH97xsjeKVnNGyREH3lQ/lyW3GfroTLCHADqGXhW7cBVAp1avfAC+iR0faU jZZR4zDLhRaElPu/K6XqnjAfHanTfxuok5+kJYbIcJ0eSXjTbxezImXq9VlvEZDvQITt yhEuqtKBc6rInk4hy6a80PlEIZk95gHrjvsjCX6D0njaSjOQmAX7R4p6VOWuKhM1OUbI TgX2epEOKnItT0IqNhZsdzbVQQOTi4F1F7Z0dcMdf0tJHlwNewt6O4K6gix1H6gIcAPo FwgygOgBqBqs4aFpzjcOPpc+MDEY2eHDMbp5lj2QGRywKvEbVqkj/NsdwyPFH2FQrirC 8gpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=B0MvSqTcLgcXdRKwPRNmjRGW7xD1ZPMEtjnhjdykrUc=; b=QNfEhH603JbD5Hfrj1EAM7oIK8PGthGIXtPhWqtvMGGa1a2Ct9pJE4NGPeVON6NxmG /WiseCMOwI1u6JNcxBHrw/+3sjPydS1ueRN1g4h20liwQkxDEO0Zugsq1dl4UxFgvAnh QXw2CIkDNGv1lp80T6WfR7AtltogtD0DI9mdNYofaHbaGuBZZMaYib/LAToEKBHfsgDc IHFKwGpvjAHJTjJHmcdOyQ7GcDdzksseYuj+qFdFPq0GOwdYo3bz3hO79oI+m5jMk38c jDrFmjE64WgGLRhvcaOUqtnd5tmYVbbmC94Vr2dOJUlABm3DFXCxiY81X8Ec1NbAxT16 PqQA== X-Gm-Message-State: APt69E1Fd/XrYlVd9Pth6P8s581Nx6L5ykVZzcMQIWX0CJvWyxlwLh3a 0Pnlkf8Q4k72X8cgFLrNs6J1wri5 X-Google-Smtp-Source: AAOMgpcs9//kx6gtPxsoEz/Sf2U0PT9woFp6LIHvqcQCh45WPS+r+WCfJ17fBiT6lJipoddLQa5W1g== X-Received: by 2002:aed:3b5d:: with SMTP id q29-v6mr2344516qte.389.1530724522067; Wed, 04 Jul 2018 10:15:22 -0700 (PDT) Received: from alvin.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id l22-v6sm3597649qkh.72.2018.07.04.10.15.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 04 Jul 2018 10:15:21 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id C3F0A2186; Wed, 4 Jul 2018 13:15:19 -0400 (-04) Date: Wed, 4 Jul 2018 13:15:19 -0400 From: Alvaro Herrera To: Tom Lane Cc: pgsql-hackers@lists.postgresql.org, Andres Freund Subject: Re: pgsql: Fix crash when ALTER TABLE recreates indexes on partitions Message-ID: <20180704171519.psqj76htohj7mco5@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <27886.1530335989@sss.pgh.pa.us> User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-Jun-30, Tom Lane wrote: > Alvaro Herrera writes: > > Fix crash when ALTER TABLE recreates indexes on partitions > > So ... buildfarm member skink has been reporting a valgrind failure > during initdb since this patch went in. However, I'm unable to reproduce > such a failure here, and it's less than obvious how this particular patch > could have caused a problem, and skink's report is pretty useless because > it's providing only a numeric stack trace. Thoughts? Actually, older branches are failing in the same way, so it's not my patch that caused it to fail. Something must have changed in the system ... Andres? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services