Re: BUG #2678: Create or replace function with OUT args - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2678: Create or replace function with OUT args
Date
Msg-id 21751.1160152549@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2678: Create or replace function with OUT args  (Jeff Trout <threshar@torgo.978.org>)
List 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 by date:

Previous
From: Jeff Trout
Date:
Subject: BUG #2678: Create or replace function with OUT args
Next
From: "CN"
Date:
Subject: BUG #2677: BCC 5.5 can't compile libpq 8.2 beta 1