Re: DROP OWNED BY fails with #53200: ERROR: out of shared memory
От | Dominique Devienne |
---|---|
Тема | Re: DROP OWNED BY fails with #53200: ERROR: out of shared memory |
Дата | |
Msg-id | CAFCRh--GEFtZqK3oN4Gsq8u62oBS=EEtaxpMNmW_6w0_hcEAHw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: DROP OWNED BY fails with #53200: ERROR: out of shared memory (Wolfgang Walther <walther@technowledgy.de>) |
Список | pgsql-general |
On Tue, Jan 11, 2022 at 12:47 PM Wolfgang Walther <walther@technowledgy.de> wrote:
Dominique Devienne:
> I wish for DB-specific ROLEs BTW...
Same here. That would be so useful.
In fact, in my case, I also want something even narrower than that,
which are SCHEMA specific ROLEs. ROLEs tied to a given schema,
implicitly DROP'ed when their "owner" SCHEMA is DROP'ed , and which
can only take GRANTs/privileges on objects from it owner schema.
I'm not saying CLUSTER-wide ROLEs are not useful. They are, mostly for LOGIN USERs IMHO.
But for NOLOGIN ROLEs used to group permissions, often in a single DB, or even a single SCHEMA like in my case,
the fact ROLEs are CLUSTER-wide is problematic for the naming. FWIW. --DD
PS: I've read the note that DB-specific ROLEs kinda exists, but since the doc explicitly mentions to avoid them,
I don't use them. And in case, as I wrote above, SCHEMA-correlated ROLEs is what I really would like to use.
В списке pgsql-general по дате отправления: