Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hJ2nh-0003w7-Um for pgsql-hackers@arkaria.postgresql.org; Tue, 23 Apr 2019 21:18:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hJ2ng-0008W9-Nj for pgsql-hackers@arkaria.postgresql.org; Tue, 23 Apr 2019 21:18:00 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1hJ2ng-0008W2-Bv for pgsql-hackers@lists.postgresql.org; Tue, 23 Apr 2019 21:18:00 +0000 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hJ2nd-0000Qt-AO for pgsql-hackers@lists.postgresql.org; Tue, 23 Apr 2019 21:18:00 +0000 Received: by mail-qt1-x841.google.com with SMTP id l17so11171197qtp.2 for ; Tue, 23 Apr 2019 14:17:56 -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=LJAZY3AQmMkz/QaZ3fU4Bktypa4bHPBSV4PhM9O7rhk=; b=Zb4HYb4naMkxFiP4OhF3U3GkLLmXNxsYVPLu47Ro7qxZqq7op8nHhoSol5ADIPCcm7 r93DgAzAi6axLhD1Q55V+CgHHIoWVFqg6c2T6lKnQNygqFlaYo3bRq/Naver6wim8XzA FfRDbGSnmZrvvgLUlOgmS8nlWoxiDItyVo8qhfUVp+xOiQIvrKUhkaj3sB9VLI3Lc+sl KxVaBsLo6z74i21EYh3Xop6Z3MIAmcvNFDrhXlpJLPgHZyeGdr98wGOAcSE08x/aNKkC HdcbATeYApqEDifvyiAQUrMBavFanwSK23D5iXuWN1IZg2bahs6otwKM5EY0ckeHQ0E8 pB9Q== 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=LJAZY3AQmMkz/QaZ3fU4Bktypa4bHPBSV4PhM9O7rhk=; b=KmGZko71A4FWbwZbgLIfVglPt3o1do6LYM9OMoNLtzsd5zdN7ks2m0aIhjxVyAjZXQ o0EtVYRLOepaCS3Kui2iH4zw/myrabKivIKtbtE0jM3POQXiFFFOueWc8RaSOgJF8w+x p+gVkrJbk180ulN4St4GP2osqNH/IFiyEfXPe2IK4Oi9fyU7I0fGkgLTyDvSe1KZacP5 1H6jItzJ9vjBNA5pOD0bBcdS0Fsy2HkbHzf4/dM86H8k98EI19yhSN00blsjRAp12nm/ QHnvkdKWXlu6Ok7gMQKo7JC0D+oJhnm3jeli0vANU5szy+GOXprghDbQTT6TJTfbOjj1 NiPA== X-Gm-Message-State: APjAAAVIr2lzxsFrXBwIiQw9tBuT5Qp2jufBdGHiVvAvJigjICNvraOC qBXQbHNZ7QhHpKP5O4BMDCck3Q== X-Google-Smtp-Source: APXvYqwJ3fEPYDmgUYIcXwvZwputbuINYsDB8HPyQnnH4gcYE0TTMQQ5PoJlysqGoG7HErDhAB/vQw== X-Received: by 2002:ac8:2cb0:: with SMTP id 45mr21946821qtw.92.1556054275724; Tue, 23 Apr 2019 14:17:55 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id f2sm979491qtd.67.2019.04.23.14.17.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Apr 2019 14:17:54 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 39A96120643; Tue, 23 Apr 2019 17:17:52 -0400 (-04) Date: Tue, 23 Apr 2019 17:17:52 -0400 From: Alvaro Herrera To: Michael Paquier Cc: Postgres hackers , Masao Fujii , Tom Lane Subject: Re: REINDEX INDEX results in a crash for an index of pg_class since 9.6 Message-ID: <20190423211752.GA9274@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190418011430.GA19133@paquier.xyz> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Apr-18, Michael Paquier wrote: > Fujii-san has sent me a report offline about REINDEX. And since 9.6, > trying to REINDEX directly an index of pg_class fails lamentably on an > assertion failure (mbsync failure if bypassing the assert): Hmm, yeah, I ran into this crash too, more than a year ago, but I don't recall what came out of the investigation, and my search-fu is failing me. I'll have a look at my previous laptop's drive ... -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services