| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Nathan Bossart <nathandbossart(at)gmail(dot)com> |
| Cc: | Michael Paquier <michael(at)paquier(dot)xyz>, Joe Conway <mail(at)joeconway(dot)com>, Joshua Brindle <joshua(dot)brindle(at)crunchydata(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: use has_privs_of_role() for pg_hba.conf |
| Date: | 2022-10-07 20:18:59 |
| Message-ID: | 3347532.1665173939@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Nathan Bossart <nathandbossart(at)gmail(dot)com> writes:
> On Fri, Oct 07, 2022 at 03:34:51PM +0900, Michael Paquier wrote:
>> Thanks. I would perhaps use names less generic than role{1,2,3} for
>> the roles or "role1" for the database name, but the logic looks
>> sound.
> Here is a new version with more descriptive role names.
There's another problem there, which is that buildfarm animals
using -DENFORCE_REGRESSION_TEST_NAME_RESTRICTIONS will complain
about role names that don't start with "regress_".
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Israel Barth Rubio | 2022-10-07 20:54:46 | Re: Add support for DEFAULT specification in COPY FROM |
| Previous Message | Nathan Bossart | 2022-10-07 19:44:30 | Re: use has_privs_of_role() for pg_hba.conf |