Re: pg_restore 14 skips ACL COLUMN when --schema is used - Mailing list pgsql-bugs

From Tom Lane
Subject Re: pg_restore 14 skips ACL COLUMN when --schema is used
Date
Msg-id 2132593.1696267783@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_restore 14 skips ACL COLUMN when --schema is used  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
I wrote:
> Hmm, changing it like that seems likely to have a lot of unexpected
> side-effects.  What I had in mind was to change the 

>             if (te->nDeps != 1 ||
>                 TocIDRequired(AH, te->dependencies[0]) == 0)
>                 return 0;

> bit so that it would loop through the TE's dependencies to see
> if any one of them is a required non-ACL TE.  We have to relax
> the "te->nDeps != 1" restriction, but we still want to check
> that there is a parent object that is being restored.

I improved the patch along those lines and pushed it.

            regards, tom lane



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #18144: While i am intalling postgresql-12 repo,i am facing the below.i tried with dowload and install.
Next
From: DataSelfService Srl
Date:
Subject: Re: BUG #18142: strange behaviour of "UPDATE" with id_encode()