Re: Calling PLpgSQL function with composite type fails with an error: "ERROR: could not open relation with OID ..." - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Calling PLpgSQL function with composite type fails with an error: "ERROR: could not open relation with OID ..."
Date
Msg-id 21313.1577418634@sss.pgh.pa.us
Whole thread Raw
In response to Re: Calling PLpgSQL function with composite type fails with an error:"ERROR: could not open relation with OID ..."  (Ashutosh Sharma <ashu.coek88@gmail.com>)
Responses Re: Calling PLpgSQL function with composite type fails with an error:"ERROR: could not open relation with OID ..."  (Ashutosh Sharma <ashu.coek88@gmail.com>)
List pgsql-hackers
Ashutosh Sharma <ashu.coek88@gmail.com> writes:
> Okay. Thanks for that fix. You've basically forced
> revalidate_rectypeid() to update the PLpgSQL_rec's rectypeid
> irrespective of typcache entry requires re-validation or not.

Right.  The assignment is cheap enough that it hardly seems
worth avoiding.

            regards, tom lane



pgsql-hackers by date:

Previous
From: yuzuko
Date:
Subject: Re: Autovacuum on partitioned table
Next
From: Justin Pryzby
Date:
Subject: Re: ALTER INDEX fails on partitioned index