Re: odd behavior/possible bug - Mailing list pgsql-hackers

From Tom Lane
Subject Re: odd behavior/possible bug
Date
Msg-id 19356.1059081213@sss.pgh.pa.us
Whole thread Raw
In response to Re: odd behavior/possible bug  (Joe Conway <mail@joeconway.com>)
List pgsql-hackers
Joe Conway <mail@joeconway.com> writes:
> Tom Lane wrote:
>> We could probably hack the inlining logic to prevent it from inlining
>> the function in this scenario, but I wonder whether this doesn't say
>> that ExecEvalArray is behaving inconsistently.  In other operations, any
>> NULL in means NULL out.  Shouldn't it simply quietly return a NULL array
>> if one of the supplied elements is NULL?

> That probably makes good sense, at least until we can deal with NULL 
> elements. Would that patch count as a bug fix?

Either one would count as a bug fix IMHO.  Anyone else have an opinion
on which to do?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: php with postgres
Next
From: Stephan Szabo
Date:
Subject: Re: odd behavior/possible bug