Re: BUG #18131: PL/pgSQL: regclass procedure parameter wrongly memoized(?)

From: Christian Stork <cstork+postgresql(at)gmail(dot)com>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18131: PL/pgSQL: regclass procedure parameter wrongly memoized(?)
Date: 2023-09-22 21:32:15
Message-ID: CAEkp40_2mobvjrXbPGKTRZEqXPnjOMptqfnSK=uZUA=UUpFKjw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I forgot to mention that the problem disappears when

call callee('table_name');

is replaced by

table_oid = 'table_name'::regclass;
call callee(table_oid);

-Chris

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Andrew Dunstan 2023-09-22 21:37:37 Re: why are null bytes allowed in JSON columns?
Previous Message Tom Lane 2023-09-22 19:31:10 Re: BUG #18080: to_tsvector fails for long text input