Re: plpgsql problem - Mailing list pgsql-general

From Anand Raman
Subject Re: plpgsql problem
Date
Msg-id 20010419161242.A2295@india-today.com
Whole thread Raw
In response to plpgsql problem  (tomek@lotnisko.pasjo.net.pl (Tomasz Chwajo³))
List pgsql-general
the second case can be determined by using FOUND  which is set to either
true or false when a select statement returns a row.. Not sure about the
first..
Anand
On Fri, Apr 13, 2001 at 10:12:02PM +0200, Tomasz Chwajo³ wrote:
>How can I check if the command has been done properly?
>For example:
>1)
>INSERT INTO...
>IF ?record_has_been_added? THEN ...
>
>2)
>SELECT ...
>IF ?record_has_been_found? THEN ...
>
>Tomek
>
>---------------------------(end of broadcast)---------------------------
>TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

pgsql-general by date:

Previous
From: "Richard Huxton"
Date:
Subject: Re: Flattening a subquery
Next
From: Pruner Jan
Date:
Subject: confirmation of insert/update