Search Postgresql Archives

Re: PL/PGSQL CURSOR looping/iteration - PG 8.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<cyw@xxxxxxx> writes:
> I see some proposal for implementing FOR loop for cursor in PG 8.4, but I could not found documentaion on how to loop or iterate thru a cursor in PG 8.3 or earler versions?

	LOOP
		FETCH ...;
		EXIT WHEN NOT FOUND;
		...
	END LOOP;

			regards, tom lane


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux