Skip site navigation (1) Skip section navigation (2)

Re: PLPGSQL OID Bug

From: Neil Conway <neilc(at)samurai(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Kevin McArthur <Kevin(at)StormTide(dot)ca>, pgsql-patches(at)postgresql(dot)org
Subject: Re: PLPGSQL OID Bug
Date: 2005-07-28 01:38:16
Message-ID: 42E83708.4030500@samurai.com (view raw or flat)
Thread:
Lists: pgsql-patches
Tom Lane wrote:
> The other spots seem to be OK.  Thanks for the report and fix!

Woops, my apologies for introducing the bug. In general I think it's 
worth removing explicit initialization of out parameters unless that 
initialization is actually needed. I thought I had checked that 
`isnull=false' wasn't needed, but obviously I missed a case.

BTW, is there a reason why exec_cast_value() and friends take a bool *, 
rather than a bool?

-Neil

In response to

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2005-07-28 02:53:34
Subject: Re: PLPGSQL OID Bug
Previous:From: Tom LaneDate: 2005-07-28 00:55:44
Subject: Re: AIX - pgport/contrib resolution

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group