Re: pgsql: Prevent duplicate RTEPermissionInfo for plain-inheritance parent

2023-10-26 Thread Amit Langote
On Thu, Oct 26, 2023 at 4:59 PM Amit Langote wrote: > On Thu, Oct 26, 2023 at 3:08 PM David Rowley wrote: > > On Thu, 26 Oct 2023 at 15:59, Amit Langote wrote: > > > src/backend/optimizer/util/inherit.c | 9 ++--- > > > > Hi Amit, > > > > I'm getting an unused variable warning from this with

Re: pgsql: Prevent duplicate RTEPermissionInfo for plain-inheritance parent

2023-10-26 Thread Amit Langote
On Thu, Oct 26, 2023 at 3:08 PM David Rowley wrote: > On Thu, 26 Oct 2023 at 15:59, Amit Langote wrote: > > src/backend/optimizer/util/inherit.c | 9 ++--- > > Hi Amit, > > I'm getting an unused variable warning from this with non-assert builds: > > [697/1908] Compiling C object > src/backend/

Re: pgsql: Prevent duplicate RTEPermissionInfo for plain-inheritance parent

2023-10-25 Thread David Rowley
On Thu, 26 Oct 2023 at 15:59, Amit Langote wrote: > src/backend/optimizer/util/inherit.c | 9 ++--- Hi Amit, I'm getting an unused variable warning from this with non-assert builds: [697/1908] Compiling C object src/backend/postgres_lib.a.p/optimizer_util_inherit.c.o ../src/backend/optimizer