pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Nunes Melo <al_nunes@atua.com.br>
Cc: PostgreSQL - SQL <pgsql-sql@postgresql.org>
Subject: Re: Set Returning Function problem
Date: Mon, 06 Dec 2004 13:47:00 -0500
Message-ID: <5105.1102358820@sss.pgh.pa.us> (raw)
In-Reply-To: <1102356404.7459.10.camel@localhost>
References: <1102356404.7459.10.camel@localhost>

Alvaro Nunes Melo <al_nunes@atua.com.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



view thread (2+ messages)

Message-ID: <5105.1102358820@sss.pgh.pa.us>
Permalink:  ../5105.1102358820@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5105.1102358820@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, al_nunes@atua.com.br
  Subject: Re: Set Returning Function problem
  In-Reply-To: <5105.1102358820@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox