From: Guillaume Houssay <ghoussay@noos.fr>
To: pgsql-sql@postgresql.org
Subject: FOR : control structure
Date: Mon, 10 Nov 2003 12:18:32 +0100
Message-ID: <008301c3a77c$606ec000$eeac84c3@camille> (raw)
I am using the For controle structure as follows
FOR i IN 0..23 LOOP
query
END LOOP;
The query is tested and is working OK.
When I launch the loop in psql interface, I get the error parse error at or near FOR.
As this is the first time I use this kind of struture I am probably using it the wrong way.
Thank you for your answer
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: ghoussay@noos.fr
Subject: Re: FOR : control structure
In-Reply-To: <008301c3a77c$606ec000$eeac84c3@camille>
* 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