Re: Query causesExecSubPlan: NULL value error - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: Query causesExecSubPlan: NULL value error
Date
Msg-id 200006121811.OAA05968@candle.pha.pa.us
Whole thread Raw
In response to Re: Query causesExecSubPlan: NULL value error  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Cool.  Thanks, Tom.


> "Rick Smith" <rsmith@artschool.com> writes:
> >    PostgreSQL version (example: PostgreSQL-6.5.3) :PostgreSQL-6.5.3
>                                                      ^^^^^^^^^^^^^^^^
> >      ERROR:  ExecSubPlan: null value returned by expression subselect
>
> 6.5 and older don't cope with sub-selects returning NULL.  This is fixed
> in Postgres 7.0.
>
>             regards, tom lane
>


--
  Bruce Momjian                        |  http://www.op.net/~candle
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Query causesExecSubPlan: NULL value error
Next
From: Bruce Momjian
Date:
Subject: Re: Minimal patches for PostgreSQL 7.0b3 on NetBSD/alpha 1.4.1....