public inbox for [email protected]  
help / color / mirror / Atom feed
From: Greg Sabino Mullane <[email protected]>
To: Ayush Vatsa <[email protected]>
Cc: [email protected]
Subject: Re: Understanding ALTER DEFAULT PRIVILEGES Behavior in PostgreSQL
Date: Tue, 4 Feb 2025 16:47:02 -0500
Message-ID: <CAKAnmmL-pEXEreUPfk0khM8be8RDEf2G1MP_QXqgtWOxV25wUg@mail.gmail.com> (raw)
In-Reply-To: <CACX+KaPVTfcmt__Ogwsf7xomtcCABktiA8iSJ+iCxOdbzKNnUA@mail.gmail.com>
References: <CACX+KaPVTfcmt__Ogwsf7xomtcCABktiA8iSJ+iCxOdbzKNnUA@mail.gmail.com>

On Tue, Feb 4, 2025 at 1:50 PM Ayush Vatsa <[email protected]>
wrote:

> Also, what would be the best way to ensure that, by default, no roles
> (except the function owner) have any privileges on new functions created in
> my protected schema?
>
Create them in another schema altogether, then move it to my_schema once
the privs have been set.

Cheers,
Greg

--
Crunchy Data - https://www.crunchydata.com
Enterprise Postgres Software Products & Tech Support

>


view thread (3+ 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: Understanding ALTER DEFAULT PRIVILEGES Behavior in PostgreSQL
  In-Reply-To: <CAKAnmmL-pEXEreUPfk0khM8be8RDEf2G1MP_QXqgtWOxV25wUg@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