Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q01xb-0002Xl-EK for pgsql-hackers@arkaria.postgresql.org; Fri, 19 May 2023 15:24:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q01xa-0006KV-Ax for pgsql-hackers@arkaria.postgresql.org; Fri, 19 May 2023 15:24:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q01xa-0006KM-0q for pgsql-hackers@lists.postgresql.org; Fri, 19 May 2023 15:24:02 +0000 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1q01xX-000h53-5R for pgsql-hackers@lists.postgresql.org; Fri, 19 May 2023 15:24:00 +0000 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-96b0235c10bso624435266b.3 for ; Fri, 19 May 2023 08:23:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1684509837; x=1687101837; 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=pVqrrkoRGxbST3um2rGcRr8h+GjxbZYrFfY4I+YCm2o=; b=CaHiHN13CnyyTCJnjNFaPBrBXJEG0WhSUD1iQKET2eZ8KL0jhn9W4vWosV2PV8qDZf wqvMuGmFarjlVYuQbcdMG6D3dldWQ86bNKyto8c9AeYWWpZb631SPMKS1B7ENT8KVufG uXEF2i+t+nzKqYtuaqf2EiWE2jr4o36O4f4JZ3JNQC4uFrnSosrvnmypDeLjYDMCsSkK 9/4ts3v0uYWl6PIDu9xBNwoTG/5xPQdVajktqJvsq276TUxWgJSOrEnFy+L6W0aFZ0wa lZR8TxO8z/2IPm2+ZlgxkPScQi8517V2p537vE0BMLi2TVhs2tOnia84gvYLUpgIMgwg uxOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684509837; x=1687101837; 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=pVqrrkoRGxbST3um2rGcRr8h+GjxbZYrFfY4I+YCm2o=; b=lkCEJvw/gjWyBKmO5jyacDGrxZVLeEE3sA0r9pZUgwYjGL2CescG/yHccKUO/NLZwt CBGafA7rv5en0D7gcCpWC4oVeNTc0t2TNmkaG7FhIdHbO4TQwIGSI9u9vMVVGCv6GkXt TffozkH7hHteHmYA40F32KbGFtFmKGuKVbDv6Z8ovgt8tirsUMp7uKKPxfYMJ1hjP7Wp z/lDrMpQnWFkf1g/LIxtUA/XR8JexV+1GKiNSHp83PQKfL1heTRkdLXNixrlXNSoHbdG MBX8MC7vFjhDy6bwwsSVhxXy/k69xelKDnN2S4p+ru1wFVh8FirNn4zhWxTece29bZpp GdQQ== X-Gm-Message-State: AC+VfDyTofD7ONKhfNqmrc+uvDaSqafSdtb1oI3e4JEGd5A05pslj+Y4 7J7hIzTy+LzcFEBPhLSD2YLP5Jo1/eMxNbBLyqoKnkDopTU0lULer6KpxcrojnryEh554eQnQD1 f7LpTly4uUOAjBHw58yDKqOI+hyiEWTBgR40IPmqk7cmrNlWroYBPyogfjxuQgpkXW73U1Y1vq6 5Q1buTCV2lOWc1N9O2tguKs3jUE+OngEHik+eSM2xje0larKnm7bnR X-Google-Smtp-Source: ACHHUZ4EhDqPq6jv8N68WBHk/sslQyh4jk4P30lsNn8n/6UCkwi8vgAA/5JrEhX/V4s4ODDzEI8vpQ== X-Received: by 2002:a17:907:75e6:b0:965:d17b:292 with SMTP id jz6-20020a17090775e600b00965d17b0292mr2086800ejc.60.1684509837688; Fri, 19 May 2023 08:23:57 -0700 (PDT) Received: from [10.137.0.17] (ip-86-49-228-220.bb.vodafone.cz. [86.49.228.220]) by smtp.gmail.com with ESMTPSA id ke25-20020a17090798f900b00965f31ff894sm2400399ejc.137.2023.05.19.08.23.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 May 2023 08:23:57 -0700 (PDT) Message-ID: <779eb1ce-c8aa-3dda-1830-5ad9a95089b2@enterprisedb.com> Date: Fri, 19 May 2023 17:23:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: Memory leak from ExecutorState context? Content-Language: en-US To: Melanie Plageman , Jehan-Guillaume de Rorthais Cc: pgsql-hackers@lists.postgresql.org, Konstantin Knizhnik , Thomas Munro References: <20230504193006.1b5b9622@karst> <20230508155648.lzddwywo6emote2b@liskov> <20230510142419.6185a492@karst> <20230516001502.21da48a6@karst> <3a18359e-5c78-3039-a0f4-ce1f34559d2e@enterprisedb.com> <20230516160051.4267a800@karst> <20230516200052.sbg6z4ghcmsas3wv@liskov> <20230517191008.7bee6aa7@karst> <20230517174635.3dsaufqn7y4gbb63@liskov> <20230518003529.7b439d00@karst> From: Tomas Vondra In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 5/19/23 00:27, Melanie Plageman wrote: > On Wed, May 17, 2023 at 6:35 PM Jehan-Guillaume de Rorthais > wrote: >> >> On Wed, 17 May 2023 13:46:35 -0400 >> Melanie Plageman wrote: >> >>> On Wed, May 17, 2023 at 07:10:08PM +0200, Jehan-Guillaume de Rorthais wrote: >>>> On Tue, 16 May 2023 16:00:52 -0400 >>>> Melanie Plageman wrote: >>>>> ... >>>>> There are some existing indentation issues in these files, but you can >>>>> leave those or put them in a separate commit. >>>> >>>> Reindented in v9. >>>> >>>> I put existing indentation issues in a separate commit to keep the actual >>>> patches clean from distractions. >>> >>> It is a matter of opinion, but I tend to prefer the commit with the fix >>> for the existing indentation issues to be first in the patch set. >> >> OK. moved in v10 patch set. > > v10 LGTM. Thanks! I've pushed 0002 and 0003, after some general bikeshedding and minor rewording (a bit audacious, admittedly). I didn't push 0001, I don't think generally do separate pgindent patches like this (I only run pgindent on large patches to ensure it doesn't cause massive breakage, not separately like this, but YMMV). Anyway, that's it for PG16. Let's see if we can do more in this area for PG17. regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company