Re: Why won't this function loop?

From: "Rob Richardson" <Rob(dot)Richardson(at)rad-con(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Why won't this function loop?
Date: 2010-11-23 20:41:10
Message-ID: 04A6DB42D2BA534FAC77B90562A6A03D0161672D@server.rad-con.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Answering my own question: It appears that FOUND will always be true
after calling the min() function, and probably after any other aggregate
function as well, even if the set of data the min() function is looking
at is empty.

RobR

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Michael Rowan 2010-11-24 00:13:29 Multi-row insert using a Function
Previous Message Rob Richardson 2010-11-23 20:27:55 Why won't this function loop?