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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Trout <threshar(at)real(dot)jefftrout(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2678: Create or replace function with OUT args
Date: 2006-10-06 16:35:49
Message-ID: 21751.1160152549@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Jeff Trout <threshar(at)real(dot)jefftrout(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2006-10-06 19:00:26 Re: BUG #2677: BCC 5.5 can't compile libpq 8.2 beta 1
Previous Message Jeff Trout 2006-10-06 12:22:04 BUG #2678: Create or replace function with OUT args