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 1gcs9J-0000IG-8q for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Dec 2018 13:26:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gcs9F-0003Sa-UI for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Dec 2018 13:25:57 +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 1gcs9F-0003Qh-ET for pgsql-hackers@lists.postgresql.org; Fri, 28 Dec 2018 13:25:57 +0000 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gcs97-0003Kp-TE for pgsql-hackers@lists.postgresql.org; Fri, 28 Dec 2018 13:25:55 +0000 Received: by mail-qt1-x842.google.com with SMTP id l12so23288102qtf.8 for ; Fri, 28 Dec 2018 05:25:49 -0800 (PST) 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=lWZ1SxFzilJFKAIxiUJuubn3wCmRAOXqJKk7kAyOATs=; b=nIVt8ucGiY6jgKK0ADZVe/wg3yfOVwH7DWoXHmvzTFn+r2LpDvNTsYjze2NlHDLoem qoS4ClpUVV2besdV1xgJDMpbyy4nO7GPu3OsCvBhxe+FT9uILFOTH9VLUANMhksBb/nB OFFfAqEVmFy0zPLYmTpS3+pU3uSrWzwNTdjDePRu9ynXtP8ve8mOjCdl/cOZ9TDhhimQ oQjusXShdsYzzp+Tj0TPwhMg9HzBH5ZuXLfZGso9OynUmvP1+7rYRMcKwGpU2hAraw9H 0cmMkUlGTgkVp4guBS3Elr5yAYIExIBx8bBvdRyyIQMOG82ruaYgRrofAG+ZONZG6N41 2r+g== 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=lWZ1SxFzilJFKAIxiUJuubn3wCmRAOXqJKk7kAyOATs=; b=agRYNYemb8lSzq8I0tPpkCAnPDC/ktbR6CuYENUND9hNxO8fBRX93punCMMbnAKK/i VjUD0VQk8qXAbbESOC7YdEt3GyKEY6ECHnH/j4v17FS145nbDS00plrjJrDx6OjUPVNP 2TWwgIqNX7plXEwO7XcYpCr6EWAxqXC3PGyHa65xglciDR9I1LNW3lkxWms4T1O9KEAu JTxAr5XQWSSzsOR8B6S/nT/JHbbh/TIkq1ipFAm5UrSO+ohwNW25hX2SD4o+grh2Qd+D ILAnWfHNhj7pg8RYpKcNcWhboBqbZRti+cpPe4bv2lqlhWIBRhjsZGVXJzDYXPHwit7Z qfJA== X-Gm-Message-State: AJcUukdCsEzokRzRr7KtYPwOgBSKjW1/Zd2vTg2EOQ85pJ0kcquzsN6c stoGDXakadNgnzBA5BiY/lSOEA== X-Google-Smtp-Source: ALg8bN7DE3Ee8k6FwXBDDb7eKzTT2uzMEPKY88J1UePfC4e+prAjtNKocuEMvAHkL69gJDX9t9Yo0g== X-Received: by 2002:a0c:bd9f:: with SMTP id n31mr26091118qvg.193.1546003548404; Fri, 28 Dec 2018 05:25:48 -0800 (PST) Received: from alvin.alvh.no-ip.org ([201.186.80.67]) by smtp.gmail.com with ESMTPSA id j95sm16091087qtb.74.2018.12.28.05.25.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 28 Dec 2018 05:25:47 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id AEE4897B; Fri, 28 Dec 2018 10:25:45 -0300 (-03) Date: Fri, 28 Dec 2018 10:25:45 -0300 From: Alvaro Herrera To: Michael Paquier Cc: "Tsunakawa, Takayuki" , Tom Lane , Robert Haas , PostgreSQL Hackers Subject: Re: removal of dangling temp tables Message-ID: <201812281325.g6m75ehwqq4p@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181228044314.GG3210@paquier.xyz> User-Agent: NeoMutt/20180716-1013-2c1e88 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-Dec-28, Michael Paquier wrote: > On Fri, Dec 28, 2018 at 12:05:34AM -0300, Alvaro Herrera wrote: > > The server code allocates arrays, but that's fine because that code is > > recompiled. Extensions only pass pointers around -- they don't create > > any additional arrays. > > There are many exotic extensions which could be using sizeof(PGPROC) > as that's a popular structure, Can you show one instance of this? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services