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

From: Tender Wang <tndrwang(at)gmail(dot)com>
To: Andrei Lepikhov <a(dot)lepikhov(at)postgrespro(dot)ru>
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:10:49
Message-ID: CAHewXNkro3agi6LmaLmQhjqwyi8nzu-sEitnK7EW9z4_e=DLKQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Andrei Lepikhov <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.

--
Tender Wang
OpenPie: https://en.openpie.com/

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message ocean_li_996 2024-03-06 03:33:45 Re:RE: Re:BUG #18369: logical decoding core on AssertTXNLsnOrder()
Previous Message David Rowley 2024-03-06 02:09:20 Re: BUG #18377: Assert false in "partdesc->nparts >= pinfo->nparts", fileName="execPartition.c", lineNumber=1943

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrei Lepikhov 2024-03-06 03:37:11 Re: "type with xxxx does not exist" when doing ExecMemoize()
Previous Message Zhijie Hou (Fujitsu) 2024-03-06 03:03:44 RE: Synchronizing slots from primary to standby