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 1hs2jn-0003fo-Mr for pgsql-hackers@arkaria.postgresql.org; Mon, 29 Jul 2019 10:18:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hs2jm-0004j7-GI for pgsql-hackers@arkaria.postgresql.org; Mon, 29 Jul 2019 10:18:38 +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 1hs2jm-0004j0-7p for pgsql-hackers@lists.postgresql.org; Mon, 29 Jul 2019 10:18:38 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hs2jj-0005Th-OJ for pgsql-hackers@postgresql.org; Mon, 29 Jul 2019 10:18:37 +0000 Received: by mail-wr1-x442.google.com with SMTP id n4so61268386wrs.3 for ; Mon, 29 Jul 2019 03:18:35 -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:references:mime-version :content-disposition:in-reply-to:user-agent; bh=CHiVpRVSdu8+ovthAwehIzrY6BMzttG2IRu2+PpKE6g=; b=I61KrybPzulbWMu98J+/Pj6r/+2mBhhBsfe5jMJTE0izNeyLO9khyfMDFNbhGsssTU ShlD6FAv5gRlxd1k9oOI40A4dxZOakkbDpwzHzQVBWe008ww4wCGq/A41sIj+4xfMg5z za7X49qRaBgb1I3zLZPtalZjG7J6iRjVrK2YUvcHwfAc1JqGY7ynmJqVTJfseGVrRtET vCYOk4HCCajTDIxgQ/gr4lniB2IvcUfol0Ovlgd7T8TwlFIXl9cSeQ2i2Ye/1ojIIfiw gUkzZmsnVqPdKGunq64QnhnhAV/Z2N79JnTCOVY0LV4sn/s1hFaQ1d1JSLGemyNMIKKe sldQ== 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:references :mime-version:content-disposition:in-reply-to:user-agent; bh=CHiVpRVSdu8+ovthAwehIzrY6BMzttG2IRu2+PpKE6g=; b=Hl8JAVLV88Cm0JH6ofLFIzeSQCc5iBnRqAz++vEICBnuRSOhDxKWgG7ix9dE2EVt94 6qBWwzpwyBonl48poscm4cedkAuDsG2TgkMc9yxNGFVUm0VU88YMUU7cGkP+lr1+WYSB DbOPZc881NpXfBuwbfXWGT33Lw18mrRWp5m/C3FYvdaVoDvrXS0FThcyByejmcF3gbGc chQ31l2DizSf15JQszTpwTod20FUXuuDx9VZ9dv9z8sdvtyU0pKoOxT+Cqd6tAuzBTFr pMQPXE7LGNZydHMSBx6Ov/yjGwMtSCHfkwMviIOCDzLEALPUSSLl15LLwfiTiQC+nCth idZw== X-Gm-Message-State: APjAAAUvA53XtthsofeiCnhGTVEL5GZkBttnVFBOPHTjPUVU1nUCpTLp /qIrCBfRRixeqLCzZ7MDtYR4dw== X-Google-Smtp-Source: APXvYqxulASjabdhnBAtHMT3drTOetyw+u838ei5tQbjCvL8360XOki1esaKg4bpNq3fJhxr32pXTQ== X-Received: by 2002:adf:c508:: with SMTP id q8mr118513716wrf.148.1564395515093; Mon, 29 Jul 2019 03:18:35 -0700 (PDT) Received: from localhost (ip-86-49-253-160.net.upcbroadband.cz. [86.49.253.160]) by smtp.gmail.com with ESMTPSA id c7sm54023020wro.70.2019.07.29.03.18.34 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 29 Jul 2019 03:18:34 -0700 (PDT) Date: Mon, 29 Jul 2019 12:18:33 +0200 From: Tomas Vondra To: Andres Freund Cc: Justin Pryzby , Tomas Vondra , Dean Rasheed , pgsql-hackers@postgresql.org Subject: Re: ANALYZE: ERROR: tuple already updated by self Message-ID: <20190729101833.rw7imcmggcusbyu6@development> References: <20190618231233.GA27470@telsasoft.com> <20190618234858.GK16019@telsasoft.com> <20190619000837.awy6j7h45ahd4vop@alap3.anarazel.de> <20190723200127.moumhmj3z4b4dohg@alap3.anarazel.de> <20190728101520.da5nptiftmsnmv7c@development> <20190728164244.44eskwbamhlj6umf@alap3.anarazel.de> <20190728192151.wktk6htdixsjpt6x@development> <20190729045320.ffwc7seez6nbmfaj@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20190729045320.ffwc7seez6nbmfaj@alap3.anarazel.de> User-Agent: NeoMutt/20180716-1444-295967 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Sun, Jul 28, 2019 at 09:53:20PM -0700, Andres Freund wrote: >Hi, > >On 2019-07-28 21:21:51 +0200, Tomas Vondra wrote: >> AFAICS it applies to 10+ versions, because that's where extended stats >> were introduced. We certainly can't mess with catalogs there, so this is >> about the only backpatchable fix I can think of. > >AFAIU the inh version wouldn't be used anyway, and this has never >worked. So I think it's imo fine to fix it that way for < master. For >master we should have something better, even if perhaps not immediately. > Agreed. I'll get the simple fix committed soon, and put a TODO on my list for pg13. thanks -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services