Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f3HEuHu45975 for ; Tue, 17 Apr 2001 10:56:17 -0400 (EDT) (envelope-from josh@agliodbs.com) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.4.1) with HTTP id 40638; Tue, 17 Apr 2001 07:56:12 -0700 From: "Josh Berkus" Subject: Re: Cursors in plpgsql To: "Preeti Kamble" , pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.4.1 Date: Tue, 17 Apr 2001 07:56:12 -0700 Message-ID: In-Reply-To: <3ADAF57B.2FD493FC@wipro.com> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Archive-Number: 200104/267 X-Sequence-Number: 2618 Preeti, > Is there a command in plpgsql similar to %NOTFOUND of oracle? Cursors are not currently supported for PL/pgSQL. There are plans to include them for and upcoming version of Postgres. But dont' wait your application on it. > 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??? Yes. Please see my post from last week called: "Re: [SQL] Calling plSQL functions". -Josh Berkus ______AGLIO DATABASE SOLUTIONS___________________________ Josh Berkus Complete information technology josh@agliodbs.com and data management solutions (415) 565-7293 for law firms, small businesses fax 621-2533 and non-profit organizations. San Francisco