From: | Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "Johnny Jrgensen" <pgsql(at)halfahead(dot)dk>, <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: PL/pgSQL loops? |
Date: | 2001-11-30 09:29:27 |
Message-ID: | 20011130012817.T52306-100000@megazone23.bigpanda.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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.
From | Date | Subject | |
---|---|---|---|
Next Message | Duncan Adams (DNS) | 2001-11-30 09:39:45 | Logging |
Previous Message | Gary Stainburn | 2001-11-30 09:19:28 | Re: Fixing faulty dates - select on day part of a date field |