Re: BUG #16730: Create table like with inheritance and self referencing index

From: Sofoklis Papasofokli <sofoklis24(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16730: Create table like with inheritance and self referencing index
Date: 2020-11-20 10:32:18
Message-ID: CANNe48dv3KzRR+VWQm7vYYm3zLcBS1_WP+zBBDm1bu3o40=fjA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Tom,

Thanks for the quick response.

I have not done a patch before, I will try to figure it out over the
weekend and get back to you on how it works for our exact scenario.

Thanks again!

Best regards,
Sofoklis

On Thu, Nov 19, 2020 at 10:10 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> > The following simplified example used to work on previous versions, but
> not
> > on 10.15, we tested it again on version 10.11 and it works.
>
> Hmph. Apparently I was too careless about the order of execution of
> the sub-commands created by a LIKE clause.
>
> I pushed this patch:
>
>
> https://git.postgresql.org/gitweb/?p=postgresql.git;a=patch;h=513db7b7004c8d1fa15dea4747a32cbc8f9621ef
>
> which takes care of the particular case you show, but now I wonder
> if there are other issues lurking nearby. If you're in a position
> to test this and see if it fixes your real application, please do.
>
> Thanks for the report!
>
> regards, tom lane
>

--
Sofoklis

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Mihir Pandya 2020-11-20 12:12:45 Re: BUG #16725: PG Admin 4 not loading due to Mime mistmatch
Previous Message Jaime Soler 2020-11-20 08:20:01 Re: vacuumdb -Z can't find function declared on functional index with inline sql function