From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephan Szabo <sszabo@megazone23.bigpanda.com>
Cc: "Johnny Jørgensen" <pgsql@halfahead.dk>
Cc: pgsql-sql@postgresql.org
Subject: Re: PL/pgSQL loops?
Date: Thu, 29 Nov 2001 18:13:05 -0500
Message-ID: <3774.1007075585@sss.pgh.pa.us> (raw)
In-Reply-To: <19090.1007053375@sss.pgh.pa.us>
References: <20011129073009.E43179-100000@megazone23.bigpanda.com>
<19090.1007053375@sss.pgh.pa.us>
I said:
> I would've expected it to count nested parentheses, at least.
Okay, it does that now, and I found that I could tighten the error
checking to give a sooner/more useful error. Now, if you get caught
by the integer-FOR-vs-FOR-over-rows problem, you'll probably get
ERROR: missing .. at end of SQL expression
which at least gives you some clue that the problem has something to
do with the "FOR x IN foo .. bar" syntax.
regards, tom lane
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: tgl@sss.pgh.pa.us, sszabo@megazone23.bigpanda.com, pgsql@halfahead.dk
Subject: Re: PL/pgSQL loops?
In-Reply-To: <3774.1007075585@sss.pgh.pa.us>
* 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