Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g5j4f-0004GD-Eb for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Sep 2018 03:04:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g5j4d-0007xF-RK for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Sep 2018 03:04:11 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g5j4c-0007x7-Cz for pgsql-hackers@lists.postgresql.org; Fri, 28 Sep 2018 03:04:11 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g5j4U-000193-AF for pgsql-hackers@postgresql.org; Fri, 28 Sep 2018 03:04:09 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 7557F20F02; Thu, 27 Sep 2018 23:04:01 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 27 Sep 2018 23:04:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=CarpKzHAO5Y5GzJSVJ7vj7cUWFjAgpTT3EkTaRC0UQg=; b=NiZiZkEi L5Aa20ersVNTMVAvo2sZwMlxy1Mr9N+R+HHnBM5/oq9iEQqn1KgeHkJ2ATqJR9L1 Y6aoeZ8E51Hgw+9LS3xQPvC4wSnK1joo/1GWb7qDkwRE3+2H7nPsw4OVY9ngXSSB B28LmIEjEGug+O6hmcJJzALhu89iN5QBBrxjxQoHLklxR3s0IEuyDzYlLXAEf2Ef sl78ZOx1ua+nu7jKC3vcZiYPDXcuPM2mYu7UAbAXu/1Go9+Az/HlOfTzn3hGcwZj dbs20SuGSDTX8MyYwbBkOp+QFXtKG79qGjL8mJ3Gaw/+evLlR2n5yI56W+dWJjIK g6o7wjfKQR7CRw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=CarpKzHAO5Y5GzJSVJ7vj7cUWFjAg pTT3EkTaRC0UQg=; b=djqDFnPG02XU/xDBa/atVtpdVF1PjAd9nZkC9r2phDQ45 ONqGwvwUu+NW0yjjA4KM+VdKmHJzFFAWq+PyK5xJCfprQkL5AuFlPIS3K/EDVynh +tj+NfBYkkZceLPZsvTE7mnUgfIjI6e5c0EfC9ACWINsZ5Xj+GfoNAtyhIJNHrtQ gdaQnPL3cvXa0Z0XPKOfCd672CfjzX5M4xXtsg8+rTsze89lH2tdPMFyfLCT0sVQ 6FFst/AT3S5cLFMXy8lCJZrE5cmJTf4E+HKEM4Lm4pEcue8Hu6QAuoxYD4o0SB+7 oRnmT6nnOfbrIW1MY/w5EJNutvnEy/sfwsSWqTtqg== X-ME-Proxy: X-ME-Sender: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id 97E25102A0; Thu, 27 Sep 2018 23:04:00 -0400 (EDT) Date: Thu, 27 Sep 2018 20:03:58 -0700 From: Andres Freund To: Haribabu Kommi Cc: Alvaro Herrera , Alexander Korotkov , Pg Hackers Subject: Re: Pluggable Storage - Andres's take Message-ID: <20180928030358.uitg4kfesfbs3uce@alap3.anarazel.de> References: <20180824025043.qscsnalejqwldmmf@alap3.anarazel.de> <20180904003308.r25cxramrfpvasxj@alap3.anarazel.de> <20180921070534.tzplrjq4fol2zoti@alap3.anarazel.de> 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: Precedence: bulk On 2018-09-28 12:21:08 +1000, Haribabu Kommi wrote: > Here I attached further cleanup patches. > 1. Re-arrange the GUC variable > 2. Added a check function hook for default_table_access_method GUC Cool. > 3. Added a new hook validate_index. I tried to change the function > validate_index_heapscan to slotify, but that have many problems as it > is accessing some internals of the heapscandesc structure and accessing > the buffer and etc. Oops, I also did that locally, in a way. I also made a validate a callback, as the validation logic is going to be specific to the AMs. Sorry for not pushing that up earlier. I'll try to do that soon, there's a fair amount of change. Greetings, Andres Freund