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 1tpORU-004bk3-A8 for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Mar 2025 09:20:00 +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 1tpORS-00ALV5-Fd for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Mar 2025 09:19:58 +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 1tpORS-00ALUx-5N for pgsql-hackers@lists.postgresql.org; Tue, 04 Mar 2025 09:19:58 +0000 Received: from mail.postgrespro.ru ([93.174.131.139]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tpORN-000s2s-39 for pgsql-hackers@postgresql.org; Tue, 04 Mar 2025 09:19:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mx2023; t=1741079993; bh=+b8eEo7DN4OuphTes+zKL+TDavEcIsDt0qmAuhwT/vw=; h=Message-ID:Date:User-Agent:Subject:To:Cc:References:From: In-Reply-To:From; b=2N+r4BvH/neKK2n6ft+AGL4O5/Lc3aOOKql8eFjO/fvpyTuw0nMjE8SPcEVcdsku4 2j7cqga6PyUmim+57m2b5/C8PisLp66iRbOsV6RwVFr6QJYQU9NP1Z7IRwcHvmXSTi Vacn3zQSXwjFZ69PCbwRYwjG8psmZQX3q/livk8+r/JlWZF6zP7wq8cy4y0l754SIL Tr+QrizIrpKmCfI21Fef9oM2S8MHW3d95Fd4uDucee2iOxuCYz6crSZS7cUb1JIa5t +/L7TtFK4qURu+Q7hXsywE1ccX5twPfHliz2yxQPUr/UrBpCBAQLTw54ybEfAc1ip+ pu+RD5e0+Tyzg== Received: from [172.30.50.234] (unknown [172.30.50.234]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: y.sokolov@postgrespro.ru) by mail.postgrespro.ru (Postfix/465) with ESMTPSA id 6F3BF60841; Tue, 4 Mar 2025 12:19:53 +0300 (MSK) Message-ID: Date: Tue, 4 Mar 2025 12:19:53 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Allow table AMs to define their own reloptions To: Julien Tachoires Cc: pgsql-hackers References: <20250302085641.hmjom5ru3w554t2n@poseidon.home.virt> <20250302132354.ffbfokeq36dp2kss@poseidon.home.virt> <20250304061619.l3d352kbgy7fwl5c@poseidon.home.virt> Content-Language: en-US From: Yura Sokolov In-Reply-To: <20250304061619.l3d352kbgy7fwl5c@poseidon.home.virt> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-KSMG-AntiPhishing: NotDetected, bases: 2025/03/04 06:55: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: 2025/03/04 07:35:00 #27586811 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 04.03.2025 09:16, Julien Tachoires пишет: > Hi Yura, > > On Sun, Mar 02, 2025 at 06:20:07PM +0300, Yura Sokolov wrote: >> Your forgot another one attempt discussion with patch [1] with alive >> commitfest entry [2] >> >> [1] https://postgr.es/m/flat/3766675.7eaCOWfIcx%40thinkpad-pgpro >> [2] https://commitfest.postgresql.org/patch/4688/ > > Thank you. After taking a look at the patch itself and the email thread, > it seems this patch does not add custom reloptions to table AMs, see > [1]. > > [1]: https://www.postgresql.org/message-id/1823308.yXV3o4JbTB%40thinkpad-pgpro But intention of this patch is to make adding options easier, as author says: But new option engine will make adding custom options for table AM more easy task, as main goal of this patch is to simplify adding options everywhere they needed. And yes, adding custom table AM options is one of my next goals, as soon as this patch is commit. I believe, adding generic way to options extension is better way than targeting specific options. Don't you? I believe Nikolay's patch needs review and support. As you're interesting to the problem, may you at least look at his suggestion and analyze it from the point of view of your task? ------- regards Yura Sokolov aka funny-falcon