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 1hcfh1-0006B1-8N for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Jun 2019 00:40:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hcfgy-0004RV-Nk for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Jun 2019 00:40:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hcfgy-0004RO-2u for pgsql-hackers@lists.postgresql.org; Mon, 17 Jun 2019 00:40:12 +0000 Received: from mail-qk1-x743.google.com ([2607:f8b0:4864:20::743]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hcfgt-0003vo-Cn for pgsql-hackers@lists.postgresql.org; Mon, 17 Jun 2019 00:40:10 +0000 Received: by mail-qk1-x743.google.com with SMTP id t8so5227391qkt.1 for ; Sun, 16 Jun 2019 17:40:07 -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=cwHYPcO58zBF1KPBWw6RNMLb/2UhnuBYeejIVazNFoM=; b=M1PIWsmiJpwPtuiEFHYQamVvweCBpwyKmpGREcmg2X2Hml45RIv+H6PAqlyNGUHXi+ cEuy14TAVmuvmNUT3pCqzQFrixujRYcPi2uh/gRPu835Htdki5t4kvAZ0RFjTG1Si05h mS7RfdubTqxlbHe/qr6F/qwZ+uPEZWQ0uJbybFg70w1SjS7vMod8Lro6x+Gck47lJ5p9 HngReXIrg1le1YqsArfY5w4nqH60aVOucX57oy0PhPEl1Lkbfc3Fi0jGDhe+Ekpoct4j oTXA8KpEcaAzkQAGvBOrFRkLBFzyvZUSMvrKrUEJCnpvpg4sNt0gNZYvLTpaVwSrbgXT /1IQ== 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=cwHYPcO58zBF1KPBWw6RNMLb/2UhnuBYeejIVazNFoM=; b=dvtM0dmIPddyRBAZF5Iy26PtPxeKFby0TEgFSYiTMhqpTlSuFGRbzOHNFH8OtES4rv htA5z0ez+qo50TOccpGOwD5ZZhC6wYfL0+tut4ScO5Ka9cVn3AMd2S+hkXKX17BwSO/G oFeZULkmee6asdtg9j0tElEI4OPdk/vhrdqBuV0lQwAun04cwvKmFXmNo8xpmI7NLSmk rVHiv6KAIWHOZhwVAo1MfpUCPDq+D9LCey4LFj3sHcoe2YwvbfSLoHgJTbXg/g+Iojt8 fUesVeyp735DxmzeuS/lD2H19vfsCWMivQxPBFl6YVa6j5UWkaW6ChsQ3v5cK9v1xPGy EgfA== X-Gm-Message-State: APjAAAV8U67g0p+6NVbxibMu7VggQJ4ugcAzBYh8wGyvIH0PaXlBw22c qu8evk5idUCLnOfH7OPxPCI8PUeRVQ0= X-Google-Smtp-Source: APXvYqyvyJ6EDZjEy6xOxiFMWQ2TlmVBeBOhvAdfDv3ZvHJt5zb25b6ONd+61NabfzotSwKkugRcMw== X-Received: by 2002:a37:5d44:: with SMTP id r65mr25630762qkb.73.1560732006147; Sun, 16 Jun 2019 17:40:06 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([179.56.48.227]) by smtp.gmail.com with ESMTPSA id d31sm7149936qta.39.2019.06.16.17.40.05 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 16 Jun 2019 17:40:05 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 5824D120BB2; Sun, 16 Jun 2019 20:40:02 -0400 (-04) Date: Sun, 16 Jun 2019 20:40:02 -0400 From: Alvaro Herrera To: Tom Lane Cc: Oleksii Kliukin , pgsql-hackers@lists.postgresql.org Subject: Re: pgsql: Avoid spurious deadlocks when upgrading a tuple lock Message-ID: <20190617004002.GA2726@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <32693.1560729741@sss.pgh.pa.us> 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-Jun-16, Tom Lane wrote: > Alvaro Herrera writes: > > I'm going to push the change of lifetime of the variable for now. > > If you're going to push anything before tomorrow's wrap, please do it > *now* not later. We're running out of time to get a full sample of > buildfarm results. Yeah, I had to bail out earlier today, so the only thing I'm confident pushing now is a revert. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services