Re: pg_upgrade fails with non-standard ACL - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: pg_upgrade fails with non-standard ACL
Date
Msg-id 20190926201938.GC16366@momjian.us
Whole thread Raw
In response to Re: pg_upgrade fails with non-standard ACL  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: pg_upgrade fails with non-standard ACL
List pgsql-hackers
On Thu, Sep 26, 2019 at 05:16:19PM -0300, Alvaro Herrera wrote:
> On 2019-Sep-26, Bruce Momjian wrote:
> > Well, right now, pg_upgrade --check succeeds, but the upgrade fails.  I
> > am proposing, at a minimum, that pg_upgrade --check fails in such cases,
> 
> Agreed, that should be a minimum fix.

Yes.

> > with a clear error message about how to fix it.
> 
> So the best solution being proposed is to reset the ACL to the default?
> So we would be forcing the user to propagate the ACL change manually,
> rather than trying to make pg_upgrade propagate it automatically.  I
> suppose making pg_upgrade would be better, but I'm not sure to what
> extent that is a full solution.

Me neither, which is why I was proposing the minimum fix.  We might not
know how to fix it in all case, but maybe we can detect all cases.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pg_upgrade fails with non-standard ACL
Next
From: Robert Haas
Date:
Subject: Re: Minimal logical decoding on standbys