Re: editors with colum positioning for debugging?

From: "Joel Fradkin" <jfradkin(at)wazagua(dot)com>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: editors with colum positioning for debugging?
Date: 2005-01-22 22:36:41
Message-ID: 000001c500d2$d892d200$797ba8c0@jfradkin
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Very cool (I tried to get 8 on fedora, but think I was missing it somehow.).
I also noticed if I run in EMS (course I need to buy it)it positions me on
the error if I am in the editor not the builder.

I am a little afraid of using 8 as it is brand new, and this will be on a
production machine. I could use 8 for development and 7 for production I
guess.

Joel Fradkin

Wazagua, Inc.
2520 Trailmate Dr
Sarasota, Florida 34243
Tel. 941-753-7111 ext 305

jfradkin(at)wazagua(dot)com
www.wazagua.com
Powered by Wazagua
Providing you with the latest Web-based technology & advanced tools.
C 2004. WAZAGUA, Inc. All rights reserved. WAZAGUA, Inc
This email message is for the use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and delete and destroy
all copies of the original message, including attachments.

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Saturday, January 22, 2005 5:21 PM
To: Joel Fradkin
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] editors with colum positioning for debugging?

"Joel Fradkin" <jfradkin(at)wazagua(dot)com> writes:
> My question is I don't see an easy way to find an error.
> Typical error text is syntax error at or near "trans" at character 825
> But determining character 825 is a little slow by hand.

PG 8.0 produces more useful output. A trivial example:

regression=# select
regression-# 1/0 as a,
regression-# 1/ as b,
regression-# 1/2 as c;
ERROR: syntax error at or near "as" at character 27
LINE 3: 1/ as b,
^
regression=#

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message John DeSoi 2005-01-23 01:58:16 Re: editors with colum positioning for debugging?
Previous Message Tom Lane 2005-01-22 22:21:24 Re: editors with colum positioning for debugging?