Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sPjTt-0062y4-2B for pgsql-hackers@arkaria.postgresql.org; Fri, 05 Jul 2024 14:00:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sPjTp-00A7kO-Ml for pgsql-hackers@arkaria.postgresql.org; Fri, 05 Jul 2024 14:00:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sPjTp-00A7kF-Ct for pgsql-hackers@lists.postgresql.org; Fri, 05 Jul 2024 14:00:06 +0000 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sPjTn-000Z0D-Ty for pgsql-hackers@lists.postgresql.org; Fri, 05 Jul 2024 14:00:05 +0000 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-52e8b27f493so1977725e87.2 for ; Fri, 05 Jul 2024 07:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720188002; x=1720792802; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=vpNcKqBNQlkfVxCMYUH+IZE0LzFf4rKvBNrZmqSdMDk=; b=hWIE4TsSFHkINW0sF1F+TtXGnGuHcNWyfeMWwnEWjTRfI/qEMkb2msZjbca3jvc+Cm DPPvx4QJUzJkpqtrD6CB6pqqhOOAQrHa6E4HJv8Hf0Ryw6sC/urJ2ALggp5JV6cugVG5 0gOgZOPR+yLKm1xiS9nIETBXFbp12F2ufiyVGrdtdxzHgKVi395A6xE/4LFCYED/Dlsa vfosu9nzwubW7PRnfAYmbfmngZObkp9XXjIfSwu8yrFV6AIunyz9WbexYftCKjkAfWaJ R3WK8upYWf8F2NM5kKzw3z9r8fTQY76fONbMtMq9d4LKjOmoGJIDpiC460PaJmr3xfnw gqNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720188002; x=1720792802; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vpNcKqBNQlkfVxCMYUH+IZE0LzFf4rKvBNrZmqSdMDk=; b=GtNGXhst7t4pZzfIfaY4tmE7md9rR4AgDrGn7D+mOxvFYVRbRWw6jOwzeYUQrAeSwx RfQEsGMoyhinqcmbCDNqAFHz+NSZ7xl15+BrjLYYncCfSjSKhdKx3pwEkFDM3GLWkHCD hivt/g8ozI1yWS1FMGlE2qtBHvnIeVb83rNfX1qveDS0myi4gX8XpfgfLGc10gkG4Xb2 lendL4uIh2/8HesGVN9lJ7KXe9mhK1iXXntHjJJCp0vKtJKIBNz9I/Je4XCyYcxHSlYF Suo1o3X/qelo7LyR9f0hWmKgYt2i9CTuREwcvF+IosNJOecDfLDRJfOUQZs3BxLjmo2n CkOQ== X-Forwarded-Encrypted: i=1; AJvYcCVwYNGp4b8i1wIwMn9uIGi1cXejwlRZiB+T/J0kASLO+QFu95XWE5gYVhoad3rfTtRjydH6fvAoy+tJLjdx5daJZEqNb+btk6IWmZ1QLwINkHst X-Gm-Message-State: AOJu0YxP3ybMfMNFVvA4xUWcITugDL1ONAUIe7E8OWsHnll1Nr+lEAUn Kriijpyj6S927fttcRRfpy7t+9O5BH+ACZtU5PWvOa/O3iWIlwod X-Google-Smtp-Source: AGHT+IGFA0IKPR3vDHYaTDy7OeK9eXCxuFBJ2Yx14HYmkApbraFpN1mTs7im4HFNykeJPjChmbxAKw== X-Received: by 2002:a19:5511:0:b0:52c:d88a:f769 with SMTP id 2adb3069b0e04-52ea0639af4mr3022357e87.33.1720188002097; Fri, 05 Jul 2024 07:00:02 -0700 (PDT) Received: from [1.0.0.7] ([178.155.22.46]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52e7ab0fd42sm2839173e87.64.2024.07.05.07.00.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Jul 2024 07:00:01 -0700 (PDT) Message-ID: <49275921-7b39-41af-5eb8-97b50ce3312e@gmail.com> Date: Fri, 5 Jul 2024 17:00:00 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: Use generation memory context for tuplestore.c Content-Language: en-US To: David Rowley Cc: Matthias van de Meent , PostgreSQL Developers References: From: Alexander Lakhin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 05.07.2024 07:57, David Rowley wrote: > Thanks for the report. I've just pushed a fix in 53abb1e0e. Thank you, David! Please look at another anomaly introduced with 590b045c3: echo " CREATE TABLE t(f int, t int); INSERT INTO t VALUES (1, 1); WITH RECURSIVE sg(f, t) AS ( SELECT * FROM t t1 UNION ALL SELECT t2.* FROM t t2, sg WHERE t2.f = sg.t ) SEARCH DEPTH FIRST BY f, t SET seq SELECT * FROM sg; " | timeout 60 psql triggers TRAP: failed Assert("chunk->requested_size < oldsize"), File: "generation.c", Line: 842, PID: 830294 Best regards, Alexander