Re: pgsql/src/backend/utils/cache (fcache.c) - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql/src/backend/utils/cache (fcache.c)
Date
Msg-id 597.965966347@sss.pgh.pa.us
Whole thread Raw
In response to RE: pgsql/src/backend/utils/cache (fcache.c)  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Responses Re: pgsql/src/backend/utils/cache (fcache.c)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
"Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
> I see the following Assert in GetDynamicFuncArgType().

>         /* TEST: I bet this routine is unnecessary ... */
>         Assert(arg->vartype == tup->t_data->t_oid);

> Seems the Assert() fails in misc regression test at
>     SELECT p.name, p.hobbies.name FROM person* p;.

Really?  It does not fail for me (else I'd certainly not have
committed the patch this way).

That assert is groundwork for some additional changes I haven't
yet made, leading up to being able to call SQL functions via
fmgr.  So if it fails I want to know about it!  Do you have any
idea what might be different between your test and mine?

            regards, tom lane

pgsql-committers by date:

Previous
From: Hiroshi Inoue
Date:
Subject: pgsql/src/backend/access/nbtree (nbtree.c nbtsort.c)
Next
From: Tom Lane
Date:
Subject: Re: pgsql/src/backend/utils/cache (fcache.c)