Re: Cursors in plpgsql

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Cursors in plpgsql
Дата
Msg-id web-40638@davinci.ethosmedia.com
обсуждение исходный текст
Ответ на Cursors in plpgsql  ("Preeti Kamble" <preeti.kamble@wipro.com>)
Список pgsql-sql
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
informationtechnology      josh@agliodbs.com  and data management solutions       (415) 565-7293 for law firms, small
businesses       fax 621-2533   and non-profit organizations.      San Francisco
 


В списке pgsql-sql по дате отправления:

Предыдущее
От: "Josh Berkus"
Дата:
Сообщение: Re: Re: Using Random Sequence as Key
Следующее
От: Rini Dutta
Дата:
Сообщение: Re: [GENERAL] drastic reduction in speed of inserts as the table grows