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 1gzVOW-0002Zb-9q for pgsql-committers@arkaria.postgresql.org; Thu, 28 Feb 2019 23:47:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gzVOU-0007zh-Mu for pgsql-committers@arkaria.postgresql.org; Thu, 28 Feb 2019 23:47:14 +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 1gzVOU-0007za-An for pgsql-committers@lists.postgresql.org; Thu, 28 Feb 2019 23:47:14 +0000 Received: from mail-yw1-xc42.google.com ([2607:f8b0:4864:20::c42]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gzVOQ-0008Ni-LK for pgsql-committers@lists.postgresql.org; Thu, 28 Feb 2019 23:47:12 +0000 Received: by mail-yw1-xc42.google.com with SMTP id k14so12597779ywe.4 for ; Thu, 28 Feb 2019 15:47:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=KVGlXB4TymUR11XPSTaqzO4ya30nl00+6fyYC8eF05A=; b=draqpXMNvY6MH84HcqDjVAUK0MjM+rwdge/R13zGcynLfmWWMT5P6i6fN1UrODQBOm xxu0WOL4enMaWbR4ZboKtr+GzV7KluPfKSnRSLKvzetTQktGXhHUCDkqmQnot38enRXS gYPXb8ZPPn4qoAkkytS21AhkOScgyxU/95LwDqEr6f61T9mWSKREH5gSoBWWUY+BP9To Ikp10ec/awNLKLVX00xs5V5RvCVSFIyKkLiy360tkxTtuIAwXSajuA/p3f5Lx2mUuIq+ JKq9auuV1XFWMcY3dLhMmFellZ/8293LBWdAIxh69mjE1xDF5fiWG+Zg1ihi9BWVfPAJ CKoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding:content-language; bh=KVGlXB4TymUR11XPSTaqzO4ya30nl00+6fyYC8eF05A=; b=iRwX2i1t8fJBXofkzwgzoUlE3+nMlgSwY/L+B2LgA23gQkVb+It22vBjouZS6EJVYA 2zWw3hoNrO6SjgUYnVSfmB4x/cweszwBEibNSCrh67D7dC1xaBYIEns35VfOjpEX5JE9 XkqHpd1tNslb6QHy7Hd/4yZtg6taz7qs3PYznr7iT5eWUUkLP4FB+8JIxUrilFu6BbqS yorMWMx00iX6L/xp38vvv+TxUmxns4CAqNiPUCAf1xsOkpVMuViEtMoMBNxfVHzWW6TP JfgfJ78nleCjWYEOdA1P8CPDYhC2nYHtf0TKzledm3VTrjyes6WxG9jl0TKiBBLH2doj NQ7A== X-Gm-Message-State: APjAAAVUPaLjKkb4Dq0RpYLKrdWXOKXVqbO3Nv1q4Fm2uTAyHfR4jcIV uaRhbXDxd5e47W9T5iGrOJq9aI64JaLK+pwwtwUc3zjbHABfC+FGggj0sO+E+jOAqOBie+VQM27 xgBR1XmbpFOVnsLIrW2BoYMWzDV0RT40nLoTR185o4O7P5u2x4YW9OckLNN67rftIqHG/22/5G+ 0NUPjj59XcMyo4e9Zu3TX5FxU9 X-Google-Smtp-Source: APXvYqz3QBPGaouPaNdSiozWmL/1slfpBid5idDjx/zTkDb2YcI2yIcYPKl4Kn3KEG4BhHHKgNc9qw== X-Received: by 2002:a25:6042:: with SMTP id u63mr1845508ybb.455.1551397629033; Thu, 28 Feb 2019 15:47:09 -0800 (PST) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id 142sm5379258ywl.31.2019.02.28.15.47.08 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Thu, 28 Feb 2019 15:47:08 -0800 (PST) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: pgsql: Use slots in trigger infrastructure, except for the actual invoc To: Andres Freund Cc: pgsql-committers@lists.postgresql.org References: <20190227062231.63q36fzvjqjytjry@alap3.anarazel.de> <20190227181621.xholonj7ff7ohxsg@alap3.anarazel.de> <20190228204138.ao7odx4qvevu63fq@alap3.anarazel.de> Openpgp: preference=signencrypt Autocrypt: addr=andrew.dunstan@2ndQuadrant.com; prefer-encrypt=mutual; keydata= xsBNBE7KWFkBCAClridxur2AIc7eW2AR7izbfp3EnNefie2HbLF0izW5Ik5UjX2HBXBx4syI gY6b0ugohXrr274+baoAlvSbq6cAoQuEVrk5IZFzt20b1Xkx65FwGSEj526yiKLocqkJceSq Xr9xcA5SGY+FZv441chh5SU92v4q6z+6LPpoHOh97ptAVXZYNTtU0LevyvD5lja0TzbvJm6C eFXitJfnm1pLEr0DGJCR/iUOl/N62Kh4855zZC7NHIjQHPOvV5Stz/l5ilDhvGVk+xkXFPys SjZoUr1rXhYLpiyi5sR0X9FHXT0KnGuz1F5ERO7ZTLSSQ6fJwPj6gOk9K+vvoKvoeql5ABEB AAHNL0FuZHJldyBEdW5zdGFuIDxhbmRyZXcuZHVuc3RhbkAybmRRdWFkcmFudC5jb20+wsCY BBMBAgBCAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAUJDyV6hBYhBOQ+WEYd/Hy/RGkV pZn6f8tZ/DuBBQJcH/EVAhkBAAoJEJn6f8tZ/DuB7BEH/iDWZEbVft2m2MT6SPjARzTupt/l xLLZ/Cl6n2US2hov5+fBbnR5xvECk/YCOfG9ICvKNlpFjceqNLRKStd8cmndnI+kDw91uNM2 hpL4aJMeW65XCHvqXlOLSwv5chBpXz9NG7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86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <20190228204138.ao7odx4qvevu63fq@alap3.anarazel.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-MW List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2/28/19 3:41 PM, Andres Freund wrote: > Hi, > > On 2019-02-27 10:16:21 -0800, Andres Freund wrote: >> On 2019-02-27 12:59:16 -0500, Andrew Dunstan wrote: >>> Backtraces should be enabled in the animal - I will investigate why >>> we're not getting them here. Meanwhile, here's one for this problem: >> Thanks, that helps! My first theories as to what's going on fell flat, >> unfortunately. I guess I'll have to figure out how to run that locally >> :(. > The issue was just that we didn't allow materializing virtual tuples > stored in a buffer tuple table slot. Locally allowing that fixed the > problem for me, I assume that'll also fix the crake. It was already on a > list of patches for pluggable storage... > > Btw, shouldn't redisExecForeignDelete return NULL when there's no row > matched for the deletion? That's possible, I'd assume, if there's a > concurrent deletion. > Yes, probably. Thanks. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services