Re: Closing Gaps in Celko trees

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ben-Nes Michael" <miki(at)canaan(dot)co(dot)il>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Closing Gaps in Celko trees
Date: 2002-07-24 07:29:23
Message-ID: 9503.1027495763@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Ben-Nes Michael" <miki(at)canaan(dot)co(dot)il> writes:
> WHILE EXISTS ( SELECT * FROM gaps )
> ...
> END WHILE;

The docs show a different syntax for plpgsql's WHILE loops:

WHILE expression LOOP
statements
END LOOP;

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message montfort 2002-07-24 07:42:42 Granting permission to root.
Previous Message Pierre-Yves LANDURE 2002-07-24 07:11:41 need help : how to replace / extend existing SQL operators ?