From: Markus Bertheau <twanger@bluetwanger.de>
To: 'pgsql-sql@postgresql.org' <pgsql-sql@postgresql.org>
Subject: PL/pgSQL, RETURN NEXT, ORDER
Date: Tue, 12 Oct 2004 15:24:48 +0200
Message-ID: <1097587488.2649.28.camel@dicaprio.akademie1.de> (raw)
Hi,
When I call a PL/pgSQL function that looks roughly like the following:
...
FOR x IN SELECT ... ORDER BY ... LOOP
RETURN NEXT x;
END LOOP;
RETURN;
END;
Is the order of the rows guaranteed to be preserved?
Thanks.
--
Markus Bertheau <twanger@bluetwanger.de>
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: twanger@bluetwanger.de
Subject: Re: PL/pgSQL, RETURN NEXT, ORDER
In-Reply-To: <1097587488.2649.28.camel@dicaprio.akademie1.de>
* 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