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 1v0hHY-00H81o-Uw for pgsql-hackers@arkaria.postgresql.org; Mon, 22 Sep 2025 14:12:45 +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 1v0hHW-000nuD-DU for pgsql-hackers@arkaria.postgresql.org; Mon, 22 Sep 2025 14:12:42 +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 1v0hHW-000ntb-0U for pgsql-hackers@lists.postgresql.org; Mon, 22 Sep 2025 14:12:42 +0000 Received: from mail-il1-x130.google.com ([2607:f8b0:4864:20::130]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1v0hHR-002CiC-2n for pgsql-hackers@postgresql.org; Mon, 22 Sep 2025 14:12:41 +0000 Received: by mail-il1-x130.google.com with SMTP id e9e14a558f8ab-4248b07bb14so10118895ab.3 for ; Mon, 22 Sep 2025 07:12:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1758550357; x=1759155157; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=nNj2b7ZbWzncYO1Re5Iw+9FKckyOp3Qv0zJHcrLjJQU=; b=caGfz8j5vF0d+IrxtVEgr8mgMKie/ImPNAckF+lVUi7cWXamRq7EK3BXzsCykYAzsL +JfIP8owTJZgeEYuUunqQ1rd95n09MspxjIUPmxAX56Um5ZmFe/09UG+hM7iSk8KbnMl jOcSyZUFMvmPim47+ggPrZggXz+YJjE+P4jPE3wnuCy5qc8bGP3nIUQWz6o72U42Qk8B Q4ru/LVUhqVxfUwD1xnIUoee4ViQe5MjHuhgF49Bc/KyJ5NU5Jy2PqMsuWlYZtm/gmFn zSQBEf3z7Mn8l3vWyDs8LXMlo2TW2ntpeoYovCPu14K4sY+fI71eAzo/PkiJXV7UdwFv xLJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758550358; x=1759155158; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=nNj2b7ZbWzncYO1Re5Iw+9FKckyOp3Qv0zJHcrLjJQU=; b=ahBP9ELRbu0Rc+J2pdHpvdJgA+IOencHO0Oy2h5ngLceWeNB/liEtTRwORCBo+XYpC nexG5a4TCtlzKobnYPrXYBPeKxjL3KIRCSr/A5eSVWkrMKSIuLGTKSsd+IVb56xB6B+M pT56ZZweXx7PH5MlMxAokTBOftMEveF995hdF2spikHQ4Cq+exHWjyfvZLzHLTjAHfx1 RuuSrtE80RELZKx/cWfl4E5VA+w3xuI75UVVOWyFPZZQfx8z7ieDcXKqRV9ZPaycsvIM gEKlqRPmb1/Bt00scAgehGJ6xj/a7Xp+2QEmQekbGBbPcnvEYi2e7eH44mLgv5lzD06Q zzlA== X-Gm-Message-State: AOJu0YzYW9HBTlgpvgevjfnykRGxGqKfgAWNRyLfwybPK9aLHULTz6CW XxoA2t+tjcx/zeXIpZIe9UZHr7/qSZpXU48YAUEO47kz8rOOL/uqhvSf17M//w== X-Gm-Gg: ASbGnctWQ5jOoM+HgalmOzXS9vqbBs/hzflCPyABG4c+jhE4LXiYgAC90ormE+70q23 uAeBcPA5e01FvOHmPUaCjYWQ0y7V8dU+jc3KPf8DOvKg+RrIu0wWdaEd0o15LbWF5Q63xtswqjT IbQs0+zRLluFjgP7g+pQrYenWWkoVzwg55u2/TbZOBuzKADnnWHFi1vPSp7BiS0imnBfDy21xXO U3t8qv3vK4Sgb/SPY8saj6LzE58Y6azuOcFQ6WVnRhV9S6cebEbdLF7VFHZYwdZfo4YzrmvH5Zu wCuU9Gnadidks5K77C51L2S7PCyFQeHLGcgctYmpstpiJM7w6CM2QjvIvD6m6xMaafcAlpn9wFw Evbor895q5ynzDpOtrldClRyOi4FPQoBvH4VaQ1s30/nx42yJkQMvgJhSIadmin0q7pMeDnuw1T MIrvdboZfINrt7biKPK3gOtWE= X-Google-Smtp-Source: AGHT+IE9lYw7Nr79rNLIpUIFG3B86RO2fNW0n4+zDQum2HOfEj7VaaIDR5up6UnbJbsLiF/N8RI+Bw== X-Received: by 2002:a92:ca4a:0:b0:424:1e39:bf0b with SMTP id e9e14a558f8ab-4248191d9d0mr171814215ab.8.1758550357501; Mon, 22 Sep 2025 07:12:37 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-4257cc86a16sm7660615ab.39.2025.09.22.07.12.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Sep 2025 07:12:37 -0700 (PDT) Date: Mon, 22 Sep 2025 09:12:35 -0500 From: Nathan Bossart To: Noah Misch Cc: pgsql-hackers@postgresql.org Subject: Re: StatisticsObjIsVisibleExt lacks "do not look in temp namespace" Message-ID: References: <20250920162116.2e.nmisch@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250920162116.2e.nmisch@google.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, Sep 20, 2025 at 09:21:16AM -0700, Noah Misch wrote: > StatisticsObjIsVisibleExt() lacks the "do not look in temp namespace" code of > the rest of the non-relation, non-type namespace searches. Patch attached. LGTM -- nathan