Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y3Ubr-0003DI-26 for pgsql-hackers@arkaria.postgresql.org; Tue, 23 Dec 2014 18:55:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y3Ubq-0006wP-H7 for pgsql-hackers@arkaria.postgresql.org; Tue, 23 Dec 2014 18:55:06 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y3Ubo-0006sN-Gr for pgsql-hackers@postgresql.org; Tue, 23 Dec 2014 18:55:04 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y3Ubl-0000QE-Kn for pgsql-hackers@postgresql.org; Tue, 23 Dec 2014 18:55:02 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 206215FA18; Tue, 23 Dec 2014 13:55:01 -0500 (EST) Date: Tue, 23 Dec 2014 13:55:01 -0500 From: Stephen Frost To: Alvaro Herrera Cc: Bruce Momjian , Tom Lane , Robert Haas , "pgsql-hackers@postgresql.org" Subject: Re: [COMMITTERS] pgsql: Use a bitmask to represent role attributes Message-ID: <20141223185500.GM3062@tamriel.snowman.net> References: <31247.1419347882@sss.pgh.pa.us> <20141223153447.GD3062@tamriel.snowman.net> <31945.1419349892@sss.pgh.pa.us> <20141223161630.GG3062@tamriel.snowman.net> <379.1419352449@sss.pgh.pa.us> <20141223170633.GA29601@momjian.us> <20141223183054.GQ1768@alvh.no-ip.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mzDsWmoYTs+XRn5Z" Content-Disposition: inline In-Reply-To: <20141223183054.GQ1768@alvh.no-ip.org> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-40-generic (x86_64) X-Uptime: 13:52:58 up 3 days, 22:32, 4 users, load average: 0.09, 0.20, 0.20 User-Agent: Mutt/1.5.21 (2010-09-15) 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 --mzDsWmoYTs+XRn5Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Alvaro Herrera (alvherre@2ndquadrant.com) wrote: > Bruce Momjian wrote: >=20 > > 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. >=20 > 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 --mzDsWmoYTs+XRn5Z Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUmbqEAAoJEO1sijiDR2RVzr4P/j0wM3MAQ4rIwxkZgmsKp8up o+T+65y7U/C0729Ac4Sbsuwr4i31JPizc4KZfWvDRElCYNY9GyalQFjvRaSNcwm+ Vv1+WcEkZLghV330F6eNeRUh6Nf/nz6lHYANduYojKFv7WbqaIoLk956VBKiSIuq gFqMBVtQ8RMxl97/QTuFq/v3wAi/cgrWMZ4yksZrStum3UaWo/qBFW2Ua5RVLPQ2 7NzNHgJpFV3cZiXZ640xYq1xx4D7beU/61ke2Z3yzQXB9xdwtZRX+4J/GS/ebu9C 7JiH1ri9WgQOCh/5oClVLT7M+CCAX9brEjY3034J73hCSDh9ozrWr+sKANQ3o2rS vdvu7GbYXgiAIxySdQzQJKM4euzG0Q+t5VMKGKpTDSxHKcSM2EYPoYyCnGtK+x3p cX2t5rofjnOTrAiXX7DGgKSVxJr7VT7tgS212JC+IgbmgHtFkS+qxKzjKyxxP9pv Fy0XsXackVbxpNr/5tC5rvwHVHSmO/GX3tMVIR/WFs1U83WyCWBbqj/oVySMyCOb z1DgA/BqeKuqzriS+L60kky9JXEc/+hftB+y7L/sjFYIAbg1OIYSMXXDtAvd9AU1 dBqWzx1TYvFHRjmWWWqGn6dV9NAMI7+2qQVFBshV9MSe/zn7VvrINlK9sgUV1gDM ITIJGVU9PvYm8tYCWIPE =Blxy -----END PGP SIGNATURE----- --mzDsWmoYTs+XRn5Z--