Re: pg_restore 14 skips ACL COLUMN when --schema is used

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Euler Taveira" <euler(at)eulerto(dot)com>
Cc: "Kong Man" <kong_mansatiansin(at)hotmail(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_restore 14 skips ACL COLUMN when --schema is used
Date: 2023-10-02 17:29:43
Message-ID: 2132593.1696267783@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-bugs by date

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