Re: use has_privs_of_role() for pg_hba.conf - Mailing list pgsql-hackers

From Tom Lane
Subject Re: use has_privs_of_role() for pg_hba.conf
Date
Msg-id 3347532.1665173939@sss.pgh.pa.us
Whole thread Raw
In response to Re: use has_privs_of_role() for pg_hba.conf  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: use has_privs_of_role() for pg_hba.conf  (Nathan Bossart <nathandbossart@gmail.com>)
List pgsql-hackers
Nathan Bossart <nathandbossart@gmail.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



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: use has_privs_of_role() for pg_hba.conf
Next
From: Israel Barth Rubio
Date:
Subject: Re: Add support for DEFAULT specification in COPY FROM