Re: Set Returning Function problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Nunes Melo <al_nunes(at)atua(dot)com(dot)br>
Cc: PostgreSQL - SQL <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Set Returning Function problem
Date: 2004-12-06 18:47:00
Message-ID: 5105.1102358820@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Alvaro Nunes Melo <al_nunes(at)atua(dot)com(dot)br> writes:
> I noticed what i think is a weird behaviour with SRFs. When I use them
> in a SELECT clause, and the SRF returns no rows, the query returns no
> rows too, when I think it should return an a null column.

Why would you think that? The behavior is exactly right as-is.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Michael Ossareh 2004-12-06 21:06:16 MO: SQL Query Performance tips
Previous Message Alvaro Nunes Melo 2004-12-06 18:06:44 Set Returning Function problem