Re: BUG #18170: Unexpected error: no relation entry for relid 3

Alexander Korotkov <aekorotkov@gmail.com>

From: Alexander Korotkov <aekorotkov@gmail.com>
To: Vik Fearing <vik@postgresfriends.org>
Cc: zuming.jiang@inf.ethz.ch, pgsql-bugs@lists.postgresql.org, Alexander Korotkov <akorotkov@postgresql.org>
Date: 2023-10-26T17:35:16Z
Lists: pgsql-bugs
On Thu, Oct 26, 2023 at 6:21 PM Vik Fearing <vik@postgresfriends.org> wrote:
> On 10/26/23 16:01, PG Bug reporting form wrote:
> > The following bug has been logged on the website:
> >
> > Bug reference:      18170
> > Logged by:          Zuming Jiang
> > Email address:      zuming.jiang@inf.ethz.ch
> > PostgreSQL version: 16.0
>
> This should be 17devel
>
> > Operating system:   Ubuntu 20.04
> > Description:
> >
> > My fuzzer finds a bug in Postgres, which triggers an unexpected error.
>
> This bisects to d3d55ce571369dad6e1d582f1655e5a3fbd8594a, Remove useless
> self-joins.

Thank you for bisecting!
I'm currently digging into this.

------
Regards,
Alexander Korotkov



Commits

  1. Disable run condition optimization for some WindowFuncs

  2. Fix allocation of UniqueRelInfo

  3. Make UniqueRelInfo a node

  4. Add "Add trailing commas to enum definitions" to .git-blame-ignore-revs

  5. Remove useless self-joins