Re: Non-superuser subscription owners - Mailing list pgsql-hackers

From Mark Dilger
Subject Re: Non-superuser subscription owners
Date
Msg-id 1552AD9A-0E31-404D-9C18-96F5801BAA05@enterprisedb.com
Whole thread Raw
In response to Re: Non-superuser subscription owners  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers

> On Nov 19, 2021, at 1:56 AM, Amit Kapila <amit.kapila16@gmail.com> 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
ownershipto non-superusers.  Your proposal about requiring the subscription to be disabled seems reasonable to me, but
I'dlike to see how it would interact with whatever Jeff proposes.  So I think I will change the patch as you suggest,
butconsider it a WIP patch until then. 

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






pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Shouldn't postgres_fdw report warning when it gives up getting result from foreign server?
Next
From: Tom Lane
Date:
Subject: Re: Pasword expiration warning