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 1rBaRt-00BS5B-0d for pgsql-hackers@arkaria.postgresql.org; Fri, 08 Dec 2023 12:59:21 +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 1rBaRr-007mns-K5 for pgsql-hackers@arkaria.postgresql.org; Fri, 08 Dec 2023 12:59:19 +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 1rBaRr-007mnk-AO for pgsql-hackers@lists.postgresql.org; Fri, 08 Dec 2023 12:59:19 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rBaRn-00Anf0-Sg for pgsql-hackers@lists.postgresql.org; Fri, 08 Dec 2023 12:59:18 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 5F9A73200ABA; Fri, 8 Dec 2023 07:59:12 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 08 Dec 2023 07:59:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1702040351; x= 1702126751; bh=+v6JWazgelwZLSmUf40YVsawET4vVHFNtQSwZtRWiEo=; b=X 7CV8o5wQO4L0qKyA8tmQStczoby+NPPnyp9D6WZSag+u58JfhtCvItTFBSo85J3n fIhTm4zpneeF2vRrQLJfEH3pyEer9XtVeyMIooSpbk6IeRrH8PDU8tV5sTVg5AeD 8mg3KmEJSpZBLc4YZ38VQwGgK2indDZAfZ4G3Axvg44wssE/3Ll1icHp7gBCpkZm 30GkWfSVQo+sxYT2o317gOkKyxOcKB/44hQ8ZjPtwa0KXRR5IzMFY7QJzkywOcz2 UcAt+WKFPOD7jrQLxAZ9HOQhzGXRq3b5GiejB/oJMHtDIJNMQo2O41xLUrRQ7RqI yOL9bQo/fWHEo8Pv7bBxQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudekiedggeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepvdektdffudfftdffffehfffhjeejhffgieeuueekjeek fffgudffhfduffffueevnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhv hhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 8 Dec 2023 07:59:11 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1702040349; bh=zSw1vCscMnP5X4Wrifg+sxyzVqbkIaowrgnkYA7iNvc=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=gjlgVQo7SSpzmS7A7acMEi6Gym3Vcjfc2UgSd+K3WZsC1sd0Ag2oC/w9agPKyfsOF 7TSUWC7Oq0ThT1DwBIv8tUzaLBLq7q+FOG9njm5NgAwKmffWKKBlOlMhz1ko8vCamF jV2Tdc0yWqrlB72HXXD3KQTVKJLltndDiVGWr5YSwdXUz1BycLdBOzs2jKghYHZFH3 nS3CvwxthHKNVmPrZUoqKKItYNpV98/Eh8gGK78XlmqTWGyMW0sPOaodJcprT/39XR Vgu/57xJEZxqIZnkphxHGMtnWvzsjx/snSYBMfAmq9l2BSw/jaygMS1yukSxRVMRBF PghAKNyFQ+5eA== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id D175FC5; Fri, 8 Dec 2023 13:59:09 +0100 (CET) Date: Fri, 8 Dec 2023 13:59:09 +0100 From: Alvaro Herrera To: Nikolay Shaplov Cc: Yura Sokolov , pgsql-hackers@lists.postgresql.org, Michael Paquier Subject: Re: [PATCH] New [relation] option engine Message-ID: <202312081259.2pwkb25emowf@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5892085.MhkbZ0Pkbq@thinkpad-pgpro> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2023-Dec-08, Nikolay Shaplov wrote: > Theoretically I can create patch with full options.c as it is in the patch > now, and use that code only in index AM, and keep reloption.c mostly > unchanged. > > This will be total mess with two different options mechanisms working in the > same time, but this might be much more easy to review. When we are done with > the first step, we can change the rest. > If this will help to finally include patch into postgres, I can do it. Will > that help you to review? I don't think that's better, because we could create slight inconsistencies between the code used for index AMs and the users of reloptions. I'm not seeing any reasonable way to split this patch in smaller ones. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "No necesitamos banderas No reconocemos fronteras" (Jorge González)