Re: BUG #18081: Spurious "function with OID ###### does not exist" error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: branko(dot)radovanovic(dot)zg(at)gmail(dot)com
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18081: Spurious "function with OID ###### does not exist" error
Date: 2023-09-04 15:30:55
Message-ID: 1162140.1693841455@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> PostgreSQL version: 13.5

> When executing the following sequence of statements:
> ...
> ...which is as expected, while statement #B will throw an error:
> SQL Error [42883]: ERROR: function with OID 102048 does not exist
> Where: SQL statement "CALL proc()"
> PL/pgSQL function test1() line 3 at CALL

It works as expected for me in current branch tips (including 13.12
and 14.9). I recall we made some fixes in plancache management that
probably explain your issue, but I don't recall details.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message James Stuart 2023-09-04 15:55:05 UPDATE mentions the RETURNING * syntax but does not mention RETURNING * INTO ...
Previous Message Tom Lane 2023-09-04 15:20:04 Re: BUG #18082: coredump during initdb