From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: "Johnny Jørgensen" <pgsql@halfahead.dk>
Cc: pgsql-sql@postgresql.org
Subject: Re: PL/pgSQL loops?
Date: Fri, 30 Nov 2001 01:29:27 -0800 (PST)
Message-ID: <20011130012817.T52306-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <3774.1007075585@sss.pgh.pa.us>
On Thu, 29 Nov 2001, Tom Lane wrote:
> 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.
Definately better, and it probably gives a more meaningful line number
too.
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: sszabo@megazone23.bigpanda.com, tgl@sss.pgh.pa.us, pgsql@halfahead.dk
Subject: Re: PL/pgSQL loops?
In-Reply-To: <20011130012817.T52306-100000@megazone23.bigpanda.com>
* 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