Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5cfF-0007qT-DI for pgsql-hackers@arkaria.postgresql.org; Wed, 25 May 2016 17:32:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b5cfE-0007vi-Tv for pgsql-hackers@arkaria.postgresql.org; Wed, 25 May 2016 17:32:12 +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.84_2) (envelope-from ) id 1b5cds-0006PY-My for pgsql-hackers@postgresql.org; Wed, 25 May 2016 17:30:48 +0000 Received: from newmail.postgrespro.ru ([93.174.131.138] helo=mail.postgrespro.ru) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5cdp-0002Yy-6w for pgsql-hackers@postgresql.org; Wed, 25 May 2016 17:30:47 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.postgrespro.ru (Postfix) with ESMTP id 1376221C87FE; Wed, 25 May 2016 20:30:42 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at postgrespro.ru Received: from mail.postgrespro.ru ([127.0.0.1]) by localhost (mail.postgrespro.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QkRIOpoPb7Xr; Wed, 25 May 2016 20:30:40 +0300 (MSK) Received: from nataraj-amd64.localnet (unknown [192.168.27.1]) by mail.postgrespro.ru (Postfix) with ESMTPSA id 2943B21C87F9; Wed, 25 May 2016 20:30:40 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1464197440; bh=aw+Nwbo1JJJGhq4jWMl5eT+Yler5xKw135kiDOGJhiI=; h=From:To:Subject:Date:In-Reply-To:References; b=lEchckemA0UWZcaochDOR17zdyx13A8TZIqDP5sR7PwdIotHeKLUiuQHH+K0j1G8n EvvTnEHmJHaH6MTDbx9oPibRRXCRSA9qyoKEMEcrLBnMDC5CRzZvqS4YwA9xTH41D0 s8fic/en/naMTI1J97MkBAW4iZJ5mmFMt/PKK1UI= From: Nikolay Shaplov To: Alvaro Herrera , pgsql-hackers@postgresql.org Subject: Re: [PROPOSAL] Move all am-related reloption code into src/backend/access/[am-name] and get rid of relopt_kind Date: Wed, 25 May 2016 20:30:39 +0300 Message-ID: <2675173.UdFh6OGSxV@nataraj-amd64> User-Agent: KMail/4.14.1 (Linux/3.16.0-4-amd64; KDE/4.14.2; x86_64; ; ) In-Reply-To: <20160525172538.GA595980@alvherre.pgsql> References: <20160525172538.GA595980@alvherre.pgsql> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-Pg-Spam-Score: -3.4 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org =D0=92 =D0=BF=D0=B8=D1=81=D1=8C=D0=BC=D0=B5 =D0=BE=D1=82 25 =D0=BC=D0=B0=D1= =8F 2016 13:25:38 =D0=92=D1=8B =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB= =D0=B8: > Teodor Sigaev wrote: > > >This all should me moved behind "access method" abstraction... > >=20 > > +1 relopt_kind should be moved in am, at least. Or removed. >=20 > Hm, but we have tablespace options too, so I'm not sure that using AM as > abstraction level is correct. We will use am for all indexes, and keep all the rest in relopotion.c for=20 non-indexes. May be divided options catalog into sections one section for e= ach=20 kind. And as I also would like to use this code for dynamic attoptions later, I=20 would like to remove relopt_kind at all. Because it spoils live in that cas= e. --=20 Nikolay Shaplov Postgres Professional: http://www.postgrespro.com Russian Postgres Company --=20 Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers