Re: Recognizing superuser in pg_hba.conf
Stephen Frost <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.devel.general |
|---|---|
| Message-ID | <[email protected]> |
Greetings, * Vik Fearing ([email protected]) wrote: > On 29/12/2019 23:10, Vik Fearing wrote: > > On 29/12/2019 17:31, Tom Lane wrote: > >> Robert Haas <[email protected]> writes: > >>> On Sat, Dec 28, 2019 at 2:02 PM Vik Fearing <[email protected]> wrote: > >>>> I'm all for this (and even suggested it during the IRC conversation that > >>>> prompted this patch). It's rife with bikeshedding, though. My original > >>>> proposal was to use '&' and Andrew Gierth would have used ':'. > >>> I think this is a good proposal regardless of which character we > >>> decide to use. My order of preference from highest-to-lowest would > >>> probably be :*&, but maybe that's just because I'm reading this on > >>> Sunday rather than on Tuesday. > >> I don't have any particular objection to '&' if people prefer that. > > > > I wrote the patch so I got to decide. :-) I will also volunteer to do > > the grunt work of changing the symbol if consensus wants that, though. > > > > It turns out that my original patch didn't really change, all the meat > > is in the keywords patch. The superuser patch is to be applied on top > > of the keywords patch. > > I missed a few places in the tap tests. New keywords patch attached, > superuser patch unchanged. We already have a reserved namespace when it comes to roles, specifically "pg_".. why invent something new like this '&' prefix when we could just declare that 'pg_superusers' is a role to which all superusers are members? Or something along those lines? Thanks, Stephen
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJeDkniAAoJEO1sijiDR2RVhhIP/1IxTGYwV1fUrY/D4mTAKpqd x+5Zsa8KngD4k25+39rIsuTZ2f2es3lY6Sr56entqITle5Dm74FKNaDK5/9uXrQ+ VTVcQTxmP6KpS9++ikBMqRF4+Xun3gBCWdb6kcVXlRrP0Jgu/UliXg0c2zWST+kb qckX8Ge3ymZ0PS52J+kPr7coXY6FVCGmktYTUefeVAwJVtHLumnv1ud23ihKbTDX ow04AVtDsP1cthZ3MViXWRqkBOjVVfQ4P2BqIttIU8KbqyPeJUv8XKB54Qoe6UwH ad2OD95Jb3VNeGGeLvr3yFodZkm6vL6gsJgQlAFdmnZZHMArJbwL3JtnuP2Txzzp AdRODEj7ad95eJeA6h6+tGL3i4EaeLtTgPekecj7qVw+lB/j4YXQPsdDa6T+ar10 xfzrrunvbspPA/wuxLi56P5mForw9TVTsqCoK5S86eAjBS/zdMCALH3vShs3U8Kj GFJcR5tyszncV4Nu5OKZDRwXUETtbBqe3wjljSOXFmQd/+0HN9CDFdxypEI652L8 uWtieks/9yGoQSpLu2ZFITiCu54uI+UhmI8f6XYRHvPYv1b8VgYCJDRLteY8m83l rDU2I4VFB8Bd2atOA5te9qPlufz6XloL45e+p5F8/uqeiWu09LncLwBmyrwNEcI5 a8drGmgRTf8W7wA9CU9w =f/Sz -----END PGP SIGNATURE-----