From: Stephen Frost <sfrost@snowman.net>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.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 13:55:01 -0500
Message-ID: <20141223185500.GM3062@tamriel.snowman.net> (raw)
In-Reply-To: <20141223183054.GQ1768@alvh.no-ip.org>
References: <E1Y3PQG-0006Hc-Ff@gemulon.postgresql.org>
<31247.1419347882@sss.pgh.pa.us>
<20141223153447.GD3062@tamriel.snowman.net>
<31945.1419349892@sss.pgh.pa.us>
<CA+Tgmobz5PzBYvTZErv3Hxw-gERbPx=w9T4+OxwD-f73zDjpYQ@mail.gmail.com>
<20141223161630.GG3062@tamriel.snowman.net>
<379.1419352449@sss.pgh.pa.us>
<20141223170633.GA29601@momjian.us>
<20141223183054.GQ1768@alvh.no-ip.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
* Alvaro Herrera (alvherre@2ndquadrant.com) wrote:
> Bruce Momjian wrote:
>
> > I am with Tom on this --- there is more wasted space in the 'name'
> > column pg_authid.rolname than by shoving 40 boolean values into a
> > bitmap. Adding the complexity of a bitmap doesn't make sense here. I
> > also apologize for the late feedback.
>
> Okay, it seems we have a majority that does not want this patch -- at
> least Tom, Robert and Bruce plus-one'd the reversion. I am going to
> revert it, mainly because I don't want to be on the hook for fixing it
> later on. I'm also going to mark it Rejected in commitfest.
Well, I'd be happy for fixing it, but that's not what is at issue here.
If it was only about getting someone to maintain it, I don't think
there'd be a discussion.
> Adam and Stephen can rework as they see fit, according to whatever
> acceptable design is found.
In the end, this is simpler, and the patch to add the other role
attributes which we were looking to add is probably closer to being done
with this outcome anyway, since it doesn't need to be rebased on top of
the bitmap work.
Thanks,
Stephen
Attachments:
signature.asc (application/pgp-signature, 818B) download
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: sfrost@snowman.net, alvherre@2ndquadrant.com, bruce@momjian.us, tgl@sss.pgh.pa.us, robertmhaas@gmail.com, pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Use a bitmask to represent role attributes
In-Reply-To: <20141223185500.GM3062@tamriel.snowman.net>
References: <E1Y3PQG-0006Hc-Ff@gemulon.postgresql.org> <31247.1419347882@sss.pgh.pa.us> <20141223153447.GD3062@tamriel.snowman.net> <31945.1419349892@sss.pgh.pa.us> <CA+Tgmobz5PzBYvTZErv3Hxw-gERbPx=w9T4+OxwD-f73zDjpYQ@mail.gmail.com> <20141223161630.GG3062@tamriel.snowman.net> <379.1419352449@sss.pgh.pa.us> <20141223170633.GA29601@momjian.us> <20141223183054.GQ1768@alvh.no-ip.org> <20141223185500.GM3062@tamriel.snowman.net>
* 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