public inbox for [email protected]
help / color / mirror / Atom feedFrom: Dominique Devienne <[email protected]>
To: Erik Wienhold <[email protected]>
Cc: [email protected]
Subject: Re: Tablespace ACLs
Date: Thu, 10 Oct 2024 15:45:45 +0200
Message-ID: <CAFCRh-9rJsoeBgBmpDOV6QYqy2hU0qFmVbtzmmQBanZf5KC7Uw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAFCRh--u2GEZ15=WJBRmMwPdKJ3r=_XSA3rw8sjWJZ6Nc2NDYw@mail.gmail.com>
<[email protected]>
On Thu, Oct 10, 2024 at 3:40 PM Erik Wienhold <[email protected]> wrote:
> On 2024-10-10 14:35 +0200, Dominique Devienne wrote:
> > Hi. Why isn't the ::regrole::text cast working as usual?
> > Aren't the OIDs for grantor and grantee returned by acldefault() valid ROLEs?
>
> You must call acldefault() with spcowner instead of oid:
>
> aclexplode(coalesce(spcacl, acldefault('t', spcowner)))
Rah, silly me. Thanks Erik, much better now. --DD
view thread (2+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Tablespace ACLs
In-Reply-To: <CAFCRh-9rJsoeBgBmpDOV6QYqy2hU0qFmVbtzmmQBanZf5KC7Uw@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox