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 1wRsgh-002m0c-2b for pgsql-hackers@arkaria.postgresql.org; Tue, 26 May 2026 14:23:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wRsgf-004bVY-1Z for pgsql-hackers@arkaria.postgresql.org; Tue, 26 May 2026 14:23:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wRsgf-004bVQ-0g for pgsql-hackers@lists.postgresql.org; Tue, 26 May 2026 14:23:18 +0000 Received: from mail-ot1-x333.google.com ([2607:f8b0:4864:20::333]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wRsgd-00000000rb8-46QN for pgsql-hackers@postgresql.org; Tue, 26 May 2026 14:23:17 +0000 Received: by mail-ot1-x333.google.com with SMTP id 46e09a7af769-7e5fd39cf11so3895013a34.0 for ; Tue, 26 May 2026 07:23:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779805394; x=1780410194; 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=QBsor5CQgPSjf+uQ7WpYt84E5MxTEROUJgdAdnKtu60=; b=fNNLVsn2PTjaAh62FfEym5h6QaYWQAEUwoxj5H4CavvbYmgeCzjvFMVYz0NmA3USCw X9KxkhDIqfU3R78durCdPwfVuWe1CIKXIpCm+mZpbQ/YdD81IQMGjQLL9zXzouD2etK0 fO9otvVw/5cAuS0dEzLC/IfIbnrGpF87mm3iPEPBtJ93zs2N0u6tM6tNSII83Xi3rnIG Z96/fEK9Rkcjz8dFqfLLXJRNSGY8nT+UKKOQREo31ESrXFvp9MVQel/cLE8ToDxRjFwc zQIKQ42KwFx1GUwe+sCMLzuKpd0/7l2z9I7+k6/9/6TbdkONllC0PanHhxeoP0xw2Oam hBRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779805394; x=1780410194; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QBsor5CQgPSjf+uQ7WpYt84E5MxTEROUJgdAdnKtu60=; b=T77+JzCKpGJTaREZEK3Ft9piaDUf+y4dCWsjGGBj8UODY4jDedBbGKop4yMvxFJ6Gl t7R3q24aqRzEkBOodVZ14slYnAE59hmwd9lBwNqLWfKCytkgkUgjIEm/p+8J+bQFiQHh sd21GsjNLetj8Bx2KPwlPUwGlVHDbNAoFg0z2jMgmTH1sn6JuV8vWMQLsyeTg7VbHlwr TTJGlYBxhZHqIcTfjxhUM4bCWf2YGWaGQd+EVCZE+lshZIS237sxhoC0eEG3NkNxLmZz rAwqsU0GYsKcompkKl41oIwPRvzqfv0ZnA3WtAFBfIvyHeOgTU9MMhDUZJ++aEv1JSat TnBA== X-Forwarded-Encrypted: i=1; AFNElJ9frVd1+oImBR5KiCHBemZX4wMkbe+O/c0j4A62sZBl0EAUQRPkRo5r7Sr60wSIqV/4zl6xWad1BcqHGSTw@postgresql.org X-Gm-Message-State: AOJu0YylMoFyTs/Vwv/UvWg+3LbdpBPNc5r399FH9HpM+OVVZokRsDEw rqzh5zaZY8og9p/nOYB/ZrOmAg/brG2eACRiKbZj/xWfz9N4kKUjBhb4 X-Gm-Gg: Acq92OGyPRvzHLC2xPYxu+OOyO4FmeBc46G9DHoHeeTyjTebW1qZSPycVWCMJVt9kLK tFIbQDV09jstzcBdIvx0bo/3ovHYLrICe0YXf8wVpqnIw8fs1cu4Y/CSGzshPbSxdJbXp8uI4AD hzNgA/7xjAaSfTPMdO4Jf+3liQUMJO23iInI0n7AeFj8mwhQ8P/6zQFwRCPEepS9vF3Df1C8eTM 84aFWbQAn+EAwzpgR07wrYEobP9YDSoLCADIpG5k7G8bd3svQPNKnogzJP35w+Vn/91HGHYm2VJ rZEo1+TZH4CGWgt+NXUqlXIziaD0hxcW68VW/uQjZbuOV9e3SuUunshTnU5sPIOUP5S69rM7Fwk 8i9tWtPUg7ngPXTh0KpO+Jsmn2umx5XWHnAFsQgOuyd9wVcHNpGB7IGhiohPI6DTG3GAodtlIDo H72X4VU2Ma1ZABhTHKtyIF0oqdf0tHnJ37zeo9EnkhlH298sqqWDlSx/2lDft8JHB/YyVy25Jpa fnTdLcXXiPzcB+FlVtKag== X-Received: by 2002:a05:6830:67d7:b0:7dc:d7e8:cb30 with SMTP id 46e09a7af769-7e5feeaffb8mr11350754a34.26.1779805394570; Tue, 26 May 2026 07:23:14 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7e6065e5ed1sm10245282a34.14.2026.05.26.07.23.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 May 2026 07:23:13 -0700 (PDT) Date: Tue, 26 May 2026 09:23:11 -0500 From: Nathan Bossart To: solai v Cc: Michael Paquier , pgsql-hackers@postgresql.org Subject: Re: problems with toast.* reloptions Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, May 26, 2026 at 11:25:39AM +0530, solai v wrote: > I tested the TOAST reloptions behavior locally on current HEAD and was > able to reproduce the inheritance and RESET scenarios discussed in the > thread. > From my testing, explicit toast.reloptions behave independently from > parent reloptions. After setting both parent and TOAST vacuum_truncate > values, RESET(vacuum_truncate) on the parent table cleared only the > parent reloption while the explicit TOAST reloption remained intact. > I also tried applying the v1-0004 patch in a clean worktree, but most > hunks in vacuum.c and autovacuum.c no longer apply cleanly against > current HEAD due to code drift. From inspecting the rejected hunks, it > looks like the patch approach was to dynamically combine parent and > TOAST reloptions during VACUUM/autovacuum execution instead of copying > inherited reloptions directly into the TOAST relation. I humbly encourage you to read the rest of the thread. In particular, I'm curious whether anyone would object to removing the TOAST reloptions. -- nathan