Re: plpgsql FOUND Variable

From: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
To: Alex <alex(at)meerkatsoft(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: plpgsql FOUND Variable
Date: 2003-08-28 12:16:14
Message-ID: Pine.LNX.4.21.0308281314020.9778-100000@ponder.fairway2k.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 28 Aug 2003, Alex wrote:

> Hi,
> when I run a SELECT INTO and the result is 0 or zero row, then I still
> get a positive result if
> using IF FOUND THEN....

Works for me in 7.3.x. What are you using? Are you perhaps doing something
like:
select count(*) from mytable

which will of course find something even if there are no rows in the
table.

--
Nigel Andrews

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sune Nielsen 2003-08-28 12:35:35 Problems with transactions and sequences
Previous Message Colin Mangiagalli 2003-08-28 11:48:31 Database Replication