public inbox for [email protected]  
help / color / mirror / Atom feed
From: Mark Dilger <[email protected]>
To: Amit Kapila <[email protected]>
To: Jeff Davis <[email protected]>
Cc: Andrew Dunstan <[email protected]>
Cc: PostgreSQL-development <[email protected]>
Cc: Robert Haas <[email protected]>
Subject: Re: Non-superuser subscription owners
Date: Fri, 19 Nov 2021 07:47:06 -0800
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAA4eK1JNxW9Qbs=STABEA_FTCnRqAvMvnvauJcnyRs2vR+tCgA@mail.gmail.com>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<CAA4eK1JvLmHRc0m_tv5zXZkEGDoEPQKsGgeL+Ois2msGhJ2RAQ@mail.gmail.com>
	<[email protected]>
	<CAA4eK1JNxW9Qbs=STABEA_FTCnRqAvMvnvauJcnyRs2vR+tCgA@mail.gmail.com>



> On Nov 19, 2021, at 1:56 AM, Amit Kapila <[email protected]> wrote:
> 
> How about allowing to change ownership only for disabled
> subscriptions? Basically, users need to first disable the subscription
> and then change its ownership.

There are some open issues about non-superuser owners that Jeff would like to address before allowing transfers of ownership to non-superusers.  Your proposal about requiring the subscription to be disabled seems reasonable to me, but I'd like to see how it would interact with whatever Jeff proposes.  So I think I will change the patch as you suggest, but consider it a WIP patch until then.

—
Mark Dilger
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company








view thread (68+ messages)  latest in thread

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], [email protected], [email protected]
  Subject: Re: Non-superuser subscription owners
  In-Reply-To: <[email protected]>

* 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