Re: Postgres Stored Procedure Call Function Return Type OID Caching Problem - Mailing list pgsql-odbc

From imad
Subject Re: Postgres Stored Procedure Call Function Return Type OID Caching Problem
Date
Msg-id 1f30b80c0701242344t1e568d28ya198044159d4865c@mail.gmail.com
Whole thread Raw
In response to Re: Postgres Stored Procedure Call Function Return Type OID Caching Problem  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-odbc

On 1/25/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
"Feng Chen" <fchen@covergence.com> writes:
> The problem is that I should not have to and cannot re-load the
> functions every now and then. Why would the type id change and the
> function still references to the old type id thus fails to get the right
> results?

I suspect the problem
is not with the return type at all, but with some table or other type
referenced within the function body.

Although pg_depend handles the dependency of return types of the functions but the weird thing is that his pg_proc entries show invalid type OID for return type. Something wrong with his PG instance probably.

--Imad
www.EnterpriseDB.com

pgsql-odbc by date:

Previous
From:
Date:
Subject: [ psqlodbc-Bugs-1001172 ] Problem with ADO.RecordCount
Next
From: "Paul B. Anderson"
Date:
Subject: Basic connection problem