We have a C# app executing a postgresql/edb function that returns a refcursor from a temp table. We're getting the following error:
ERROR: 42P01: relation with OID 92499 does not exist
EnterpriseDB.EDBClient.EDBException:
relation with OID 92499 does not exist
This function is a longish one and the problem, I think, is that edb/postgresql is caching the function with the OID's of the temp tables from a prior call (that don't exist anymore). Anyone got any idears how to get around this?
TIA!