Re: "type with xxxx does not exist" when doing ExecMemoize()

From: Andrei Lepikhov <a(dot)lepikhov(at)postgrespro(dot)ru>
To: Tender Wang <tndrwang(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Richard Guo <guofenglinux(at)gmail(dot)com>, David Rowley <dgrowleyml(at)gmail(dot)com>
Subject: Re: "type with xxxx does not exist" when doing ExecMemoize()
Date: 2024-03-06 03:37:11
Message-ID: e376087c-1525-418e-bd78-17b5266fb680@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On 6/3/2024 10:10, Tender Wang wrote:
>
>
> Andrei Lepikhov <a(dot)lepikhov(at)postgrespro(dot)ru
> <mailto:a(dot)lepikhov(at)postgrespro(dot)ru>> 于2024年3月5日周二 17:36写道:
>
> On 1/3/2024 14:18, Tender Wang wrote:
> > During debug, I learned that numeric_add doesn't have type check
> like
> > rangetype, so aboved query will not report "type with xxx does
> not exist".
> >
> > And I realize that  the test case added by Andrei Lepikhov  in v3 is
> > right. So in v6 patch I add Andrei Lepikhov's test case.  Thanks
> a lot.
> >
> > Now I think the v6 version patch seems to be complete now.
> I've passed through the patch, and it looks okay. Although I am afraid
> of the same problems that future changes can cause and how to detect
> them, it works correctly.
>
>
> Thanks for reviewing it, and I add it to commitfest 2024-07.
I think, it is a bug. Should it be fixed (and back-patched) earlier?

--
regards,
Andrei Lepikhov
Postgres Professional

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tender Wang 2024-03-06 04:30:30 Re: BUG #18314: PARALLEL UNSAFE function does not prevent parallel index build
Previous Message Bruce Momjian 2024-03-06 03:35:49 Re: Issue with PostgreSQL 11 RPM Package Availability

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2024-03-06 03:47:09 Re: Synchronizing slots from primary to standby
Previous Message Tender Wang 2024-03-06 03:10:49 Re: "type with xxxx does not exist" when doing ExecMemoize()