Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mo66d-00064l-L8 for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Nov 2021 15:47:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mo66c-00064z-Is for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Nov 2021 15:47:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mo66b-00064p-Un for pgsql-hackers@lists.postgresql.org; Fri, 19 Nov 2021 15:47:14 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mo66X-0000Je-Q0 for pgsql-hackers@postgresql.org; Fri, 19 Nov 2021 15:47:13 +0000 Received: by mail-pf1-x434.google.com with SMTP id i12so9695313pfd.6 for ; Fri, 19 Nov 2021 07:47:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Pjtik3wAynuwyhE7cJl2C2kFsfGlPeJxxGDHPpfAbXY=; b=NzbayeQK6WEgKKuMn3HBmwg2eOQxRqMb+sq/R3t8VZLVBvHuHZT/pRCnfxE8MW7Zis Q09eIQI7+9ZG8NUMcbbZdZEnHRLEtkfGKpfzx+K2mNvoPSOTnZU09o552KNzb7bj9oMY knbPnvbGNJKCr5qRmy3OlbSNqsFS5irpU7CPgncQM2sQaQSExm76wlVSmlxBkso8mOWt YRtxuE1uy5ylky3GU14lRP8jDoxHri9goGozdITnDs84o9X9e0vGbx0X7KQuCkm9BJHE pjj8glQB2QzxGrURtjwaSb5xI18s+i3f4fwEGYOwx1RHjrKytJcRLdDSsIMoYE36IB3a stZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Pjtik3wAynuwyhE7cJl2C2kFsfGlPeJxxGDHPpfAbXY=; b=CPjSYYYPvUeEz0M68s8H7zfS7pTB9w2MpC8Gysnvyiwlu6QPJPqvw3638DT0g2yhvd owdq6nriWmDgIv+xO/AZtZaHOOy3EouFwyqHdkUcmmUZOTm9rh/bX5i8QsqX5K/eWV4J F/BQbsVj48wl5X6lAv8gEUSnuUKbQPf874C0uxxhfoeFx4KvtpVH6BPKpOM0DQxLIO0f J+PudLczF4mMnfhfWwlY0z/7aV6aXLGK+z0B0P1z5qTleB09CbBSAbwSyLBmdFVM1QKL HWTyE93FTme9La+cGOuwrA1bg/FE1TJnwB12lfka61VuTBENCAWYut/cod8Yyw3E8Fo0 9YRg== X-Gm-Message-State: AOAM533OgJwG6iKvI+Xi2myRZgPnlUFZUGo2t0PYfPObBFlTPn9veuPf F+bLv8r0zLf9gvx+xgn/Qv7ohHMLTBJ6ZZiN5JwBO4HvEli4jwPmhgHk775H+62OZMmWWP+do/I 5roGsNMuUtG/irm6dyC9S680dee7UE730RX+khxKFkwHrfgWVekVb6EXA1g8dICjwYHEh3Q7ngy l4i1+q57QCjWPtX90fzMRqyzjsrKSk5vZ//vLp X-Google-Smtp-Source: ABdhPJw6zBSiFYR37Z2JS9DAVjbot4psdjzXw5aD9GlLvC/pgagVDwc+0anC5xsLBCjkoQx9BpQnqw== X-Received: by 2002:a63:d604:: with SMTP id q4mr18010110pgg.191.1637336827438; Fri, 19 Nov 2021 07:47:07 -0800 (PST) Received: from laptop280-ma-us.hitronhub.home (24-113-193-150.wavecable.com. [24.113.193.150]) by smtp.gmail.com with ESMTPSA id m15sm11156535pjc.35.2021.11.19.07.47.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Nov 2021 07:47:06 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: Non-superuser subscription owners From: Mark Dilger In-Reply-To: Date: Fri, 19 Nov 2021 07:47:06 -0800 Cc: Andrew Dunstan , PostgreSQL-development , Robert Haas Content-Transfer-Encoding: quoted-printable Message-Id: <1552AD9A-0E31-404D-9C18-96F5801BAA05@enterprisedb.com> References: <9DFC88D3-1300-4DE8-ACBC-4CEF84399A53@enterprisedb.com> <6BB4451E-7B1B-474C-BD1F-DB7531E720C6@enterprisedb.com> <568C890F-C554-4A94-B6D1-341610121E03@enterprisedb.com> To: Amit Kapila , Jeff Davis X-Mailer: Apple Mail (2.3608.120.23.2.7) X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Nov 19, 2021, at 1:56 AM, Amit Kapila = wrote: >=20 > 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. =E2=80=94 Mark Dilger EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company