pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: [COMMITTERS] pgsql: Use a bitmask to represent role attributes
Date: Tue, 23 Dec 2014 10:53:51 -0500
Message-ID: <32005.1419350031@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+TgmoYFf0yx8vZyRt613MuyMgOHTDPrhBdBbR_8C4NgcE=9yw@mail.gmail.com>
References: <E1Y3PQG-0006Hc-Ff@gemulon.postgresql.org>
	<31247.1419347882@sss.pgh.pa.us>
	<20141223152630.GM1768@alvh.no-ip.org>
	<CA+TgmoYFf0yx8vZyRt613MuyMgOHTDPrhBdBbR_8C4NgcE=9yw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Robert Haas <robertmhaas@gmail.com> 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



view thread (27+ messages)  latest in thread

Message-ID: <32005.1419350031@sss.pgh.pa.us>
Permalink:  ../32005.1419350031@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/32005.1419350031@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, alvherre@2ndquadrant.com, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Use a bitmask to represent role attributes
  In-Reply-To: <32005.1419350031@sss.pgh.pa.us>
  References: <E1Y3PQG-0006Hc-Ff@gemulon.postgresql.org> <31247.1419347882@sss.pgh.pa.us> <20141223152630.GM1768@alvh.no-ip.org> <CA+TgmoYFf0yx8vZyRt613MuyMgOHTDPrhBdBbR_8C4NgcE=9yw@mail.gmail.com> <32005.1419350031@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox