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.96) (envelope-from ) id 1vgkf8-002bcA-2K for pgsql-hackers@arkaria.postgresql.org; Fri, 16 Jan 2026 14:18:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vgkf7-003Vli-1l for pgsql-hackers@arkaria.postgresql.org; Fri, 16 Jan 2026 14:18:53 +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.96) (envelope-from ) id 1vgkf7-003Vla-0B for pgsql-hackers@lists.postgresql.org; Fri, 16 Jan 2026 14:18:53 +0000 Received: from mail.postgrespro.ru ([93.174.132.70]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vgkf4-000pal-1p for pgsql-hackers@lists.postgresql.org; Fri, 16 Jan 2026 14:18:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mx2023; t=1768573129; bh=14WKPKYB40lK2uxAkhOE17YTybNUYVOCk28bbrcjQ5k=; h=Date:From:To:Cc:Subject:In-Reply-To:References:Message-ID:From; b=n3sjhEJlYrpqPNB3h6KXdgm3VhXRU+gSOqpXxQSidXgxMU++qPOfWG2NaetfTaeua E5MI2tZdnVwNCLMDBKzNANmJV0Y3XHJBGpgNiiPLlVbPgcB0/zd/GgbRZEVayQeQ8k oghvRevZ4EYF8cw/nqsYP3KHYTfgGgFbFjvjSTNbXGibTRgcDMYaW3D2x6TLhkXKE+ m//FOJ6sTE+GqqCbKZwIk2qvBsmwcvcoI2ulf5ptBaetOvGhne1Vkr3Ttg4ad5ktkw gs7T91nX6SUcVcHczsmhRl24N+4vhQvKr1jJ/6+POAeoPVstQb41HQFVT9omylsT68 5vjHuK9ZZbM/g== Received: from mail.l.postgrespro.ru (webmail-slave-mstn.l.postgrespro.ru [192.168.2.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: r.zharkov@postgrespro.ru) by mail.postgrespro.ru (Postfix/587) with ESMTPSA id E5A2B610EE; Fri, 16 Jan 2026 17:18:48 +0300 (MSK) MIME-Version: 1.0 Date: Fri, 16 Jan 2026 21:18:48 +0700 From: Zharkov Roman To: "Hayato Kuroda (Fujitsu)" Cc: pgsql-hackers@lists.postgresql.org, Amit Kapila , "Zhijie Hou (Fujitsu)" , ShlokKumar.Kyal@fujitsu.com, Masahiko Sawada Subject: Re: Selectively invalidate caches in pgoutput module In-Reply-To: References: Message-ID: <3b15ca9a-a7dc-2a0a-434a-bc5cba201108@postgrespro.ru> X-Sender: r.zharkov@postgrespro.ru Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-KSMG-AntiPhishing: NotDetected, bases: 2026/01/16 13:21:00 X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.1.0.7854, bases: 2026/01/16 13:30:00 #28119422 X-KSMG-AntiVirus-Status: NotDetected, skipped X-KSMG-LinksScanning: not scanned, disabled by settings X-KSMG-Message-Action: skipped X-KSMG-Rule-ID: 1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello, It seems I found the not corresponding comment "CallSyscacheCallbacks" on the function "CallRelSyncCallbacks(Oid relid)" [1]. This is from commit #3abe9dc [2]. On Monday, March 03, 2025 14:57 +07, "Hayato Kuroda (Fujitsu)" wrote: > Hi, this is a fork thread from [1]. I want to propose a small > optimization for > logical replication system. [1] https://github.com/postgres/postgres/blob/master/src/backend/utils/cache/inval.c#L1917C4-L1917C25 [2] https://github.com/postgres/postgres/commit/3abe9dc18892b9f69bb48a2eb21fbe5cf348a489#diff-a2d058b87a058c0877ab30776da08a5b884944ece132cbbdf916ec06c29611fdR1903 -- Roman Zharkov