pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Anand Raman <araman@india-today.com>
To: pgsql-general@postgresql.org
Subject: Re: Cursors in plpgsql
Date: Tue, 17 Apr 2001 12:04:14 +0530
Message-ID: <20010417120414.I31344@india-today.com> (raw)
In-Reply-To: <3ADAF57B.2FD493FC@wipro.com>
References: <3ADAF57B.2FD493FC@wipro.com>

there is the FOUND variable which can be negated to have the desired
effect ..

Try out 

IF NOT FOUND ....

Hope this helps
Anand
On Mon, Apr 16, 2001 at 07:06:59PM +0530, Preeti Kamble wrote:
>Hi
>Is there a command in plpgsql similar to  %NOTFOUND of oracle?
>
>i want to write a load script which takes each row from the temporary
>table, do some processing and insert into actual tables. Any idea how i
>can accomplish this???
>
>thank you
>regards
>Preeti
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster



view thread (8+ messages)  latest in thread

Message-ID: <20010417120414.I31344@india-today.com>
Permalink:  ../20010417120414.I31344@india-today.com/
Also on:    postgresql.org/message-id/20010417120414.I31344@india-today.com

 · 

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: araman@india-today.com, pgsql-general@postgresql.org
  Subject: Re: Cursors in plpgsql
  In-Reply-To: <20010417120414.I31344@india-today.com>

* 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