Re: Postgres Stored Procedure Call Function Return Type OID Caching Problem

Поиск
Список
Период
Сортировка
От imad
Тема Re: Postgres Stored Procedure Call Function Return Type OID Caching Problem
Дата
Msg-id 1f30b80c0701242344t1e568d28ya198044159d4865c@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Postgres Stored Procedure Call Function Return Type OID Caching Problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От:
Дата:
Сообщение: [ psqlodbc-Bugs-1001172 ] Problem with ADO.RecordCount
Следующее
От: "Paul B. Anderson"
Дата:
Сообщение: Basic connection problem