Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHB2B-0003XN-PB for pgsql-hackers@arkaria.postgresql.org; Wed, 14 Dec 2016 14:59:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cHB2B-000723-C7 for pgsql-hackers@arkaria.postgresql.org; Wed, 14 Dec 2016 14:59:55 +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 1cHB0l-00053w-8B for pgsql-hackers@postgresql.org; Wed, 14 Dec 2016 14:58:27 +0000 Received: from tamriel.snowman.net ([72.66.115.51]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHB0i-0004Wm-Nk for pgsql-hackers@postgresql.org; Wed, 14 Dec 2016 14:58:25 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 6F4AE5F7A9; Wed, 14 Dec 2016 09:57:23 -0500 (EST) Date: Wed, 14 Dec 2016 09:57:23 -0500 From: Stephen Frost To: Peter Eisentraut Cc: Michael Paquier , Heikki Linnakangas , Robert Haas , Andres Freund , David Steele , Tom Lane , David Fetter , Alvaro Herrera , Magnus Hagander , Julian Markwort , PostgreSQL mailing lists , Valery Popov Subject: Re: pg_authid.rolpassword format (was Re: Password identifiers, protocol aging and SCRAM protocol) Message-ID: <20161214145723.GJ23417@tamriel.snowman.net> References: <21eecdb8-365b-8347-1ae2-5278d1fe798c@iki.fi> <762f4875-a87e-cf0b-c06b-b357294d8be1@iki.fi> <2d07165c-1793-e243-a2a9-e45b624c7580@iki.fi> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="e890kymSckUvwzhr" Content-Disposition: inline In-Reply-To: X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-91-generic (x86_64) X-Uptime: 09:53:17 up 158 days, 16:17, 28 users, load average: 0.06, 0.07, 0.11 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -5.0 (-----) 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 --e890kymSckUvwzhr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Peter Eisentraut (peter.eisentraut@2ndquadrant.com) wrote: > On 12/14/16 5:15 AM, Michael Paquier wrote: > > I would be tempted to suggest adding the verifier type as a new column > > of pg_authid >=20 > Yes please. This discussion seems to continue to come up and I don't entirely understand why we keep trying to shove more things into pg_authid, or worse, into rolpassword. We should have an independent table for the verifiers, which has a different column for the verifier type, and either starts off supporting multiple verifiers per role or at least gives us the ability to add that easily later. We should also move rolvaliduntil to that new table. No, I am specifically *not* concerned with "backwards compatibility" of that table- we continually add to it and change it and applications which are so closely tied to PG that they look at pg_authid need to be updated with nearly every release anyway. What we *do* need to make sure we get correct is what pg_dump/pg_upgrade do, but that's entirely within our control to manage and shouldn't be that much of an issue to implement. Thanks! Stephen --e890kymSckUvwzhr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJYUV3TAAoJEO1sijiDR2RVgBUQAJg5DWbGjevpi8CYikKZl7vl 5BTfqu+4kQqi0/YMlWoDBZl4oY2XlbflhzdeMjXcbd3DcCdtIFm4XiJPC219jKFM cI437sK5fr43iuRHXWWOuCy02cE9xtkqUNu7dKgoUxWLmagE28vW1neSZWSQjqj5 nkLt565OWZRIjYQkR235ddJLVbFvPj8zqPppY3Cy4jDfbFhwGNw0ye/3XUM54XnL SovBqh6jTc+Y/+CEzV8RJQd659ULgvB/pdjui4qAowe5Ybo7Geo/zFfhfRhNofxS rWPcpe7fdTu8viKk4lHHApZpL49f/yQiBVXOiDoymocQ1PLcOFP0wAGHDmIwCbVs 1SiS5hwoOujSbP5Tw+4eLRX9v+MOneC89i40EMtGfiGAxmUFPiFuRL+jMk7TBxGO 4LGjzh7y8ooXoEkn75yvIQdfoS24gXraR5GzyOBTAk5aVERHU7AOkMx2u0yPjIed y9nM9bgk4NK/d/YJ/kQaE8VOIcse3j012e8ySeRTSoo0snsOb6yTRqQ1PR2UW5Lj R+QoNC1Fs0h58fdC8mxZzgrAoqJRByYG+hplvuZkPdyPmvU+729vV68ZL7XrvNR+ tqq0k4jAOKrZtyNNIUnS73nyMic7cw4ks65eomhpsuHZ7Z7PG/vSjDuYFGrMbYAl DNA9NScMrZ+yF5qhlXS9 =uTei -----END PGP SIGNATURE----- --e890kymSckUvwzhr--