From: imad <immaad@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Feng Chen <fchen@covergence.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Postgres Stored Procedure Call Function Return Type OID Caching Problem
Date: Thu, 25 Jan 2007 12:44:17 +0500
Message-ID: <1f30b80c0701242344t1e568d28ya198044159d4865c@mail.gmail.com> (raw)
In-Reply-To: <9954.1169676956@sss.pgh.pa.us>
References: <0D1719326D64BD4E9F92A0C1202376780192A257@eserv.covergence.com>
<1f30b80c0701241150h597ae274wb10265fa29921386@mail.gmail.com>
<0D1719326D64BD4E9F92A0C1202376780192A28C@eserv.covergence.com>
<9954.1169676956@sss.pgh.pa.us>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: immaad@gmail.com, tgl@sss.pgh.pa.us, fchen@covergence.com
Subject: Re: Postgres Stored Procedure Call Function Return Type OID Caching Problem
In-Reply-To: <1f30b80c0701242344t1e568d28ya198044159d4865c@mail.gmail.com>
References: <0D1719326D64BD4E9F92A0C1202376780192A257@eserv.covergence.com> <1f30b80c0701241150h597ae274wb10265fa29921386@mail.gmail.com> <0D1719326D64BD4E9F92A0C1202376780192A28C@eserv.covergence.com> <9954.1169676956@sss.pgh.pa.us> <1f30b80c0701242344t1e568d28ya198044159d4865c@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox