Re: BUG #2678: Create or replace function with OUT args

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #2678: Create or replace function with OUT args
Дата
Msg-id 21751.1160152549@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #2678: Create or replace function with OUT args  (Jeff Trout <threshar@torgo.978.org>)
Список pgsql-bugs
Jeff Trout <threshar@real.jefftrout.com> writes:
> it seems there may be some bug with cache coherency when replacing
> functions that use OUT arguments.

Looks like SysCacheGetAttr is making an assumption no longer tenable
(if it ever was), namely that the caller is referencing the same
syscache the tuple was fetched from, rather than another one on the
same catalog.  It needs to be prepared to initialize the cache in case
this is the first reference.  Will fix.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Jeff Trout
Дата:
Сообщение: BUG #2678: Create or replace function with OUT args
Следующее
От: "CN"
Дата:
Сообщение: BUG #2677: BCC 5.5 can't compile libpq 8.2 beta 1