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

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 (view raw or flat)
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

pgsql-sql by date

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

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