Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y3Rmb-0004xl-Q2 for pgsql-hackers@arkaria.postgresql.org; Tue, 23 Dec 2014 15:54:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y3Rmb-00042X-B7 for pgsql-hackers@arkaria.postgresql.org; Tue, 23 Dec 2014 15:54:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y3Rma-00042R-5N for pgsql-hackers@postgresql.org; Tue, 23 Dec 2014 15:54:00 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y3RmX-00013M-60 for pgsql-hackers@postgresql.org; Tue, 23 Dec 2014 15:53:59 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id sBNFrpSX032006; Tue, 23 Dec 2014 10:53:51 -0500 From: Tom Lane To: Robert Haas cc: Alvaro Herrera , "pgsql-hackers@postgresql.org" Subject: Re: [COMMITTERS] pgsql: Use a bitmask to represent role attributes In-reply-to: References: <31247.1419347882@sss.pgh.pa.us> <20141223152630.GM1768@alvh.no-ip.org> Comments: In-reply-to Robert Haas message dated "Tue, 23 Dec 2014 10:40:15 -0500" Date: Tue, 23 Dec 2014 10:53:51 -0500 Message-ID: <32005.1419350031@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 Robert Haas writes: > I would have preferred (and I believe argued for) keeping the existing > catalog representation for existing attributes and using a bitmask for > new ones, to avoid breaking client code. But I am not sure if that's > actually the best decision. I find Tom's concern about needing more > than 64 attributes to be ill-founded; I can't really see that > happening on any timescale that matters. I tend to agree, which is why I'm questioning the decision to not just keep adding bool columns. I don't see how that's not both more convenient and less surprising. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers