pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joel Fradkin <jfradkin@wazagua.com>
To: 'Tom Lane' <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: editors with colum positioning for debugging?
Date: Sat, 22 Jan 2005 17:36:41 -0500
Message-ID: <000001c500d2$d892d200$797ba8c0@jfradkin> (raw)
In-Reply-To: <26048.1106432484@sss.pgh.pa.us>

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@wazagua.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@sss.pgh.pa.us] 
Sent: Saturday, January 22, 2005 5:21 PM
To: Joel Fradkin
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] editors with colum positioning for debugging? 

"Joel Fradkin" <jfradkin@wazagua.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




view thread (4+ messages)  latest in thread

Message-ID: <000001c500d2$d892d200$797ba8c0@jfradkin>
Permalink:  ../000001c500d2$d892d200$797ba8c0@jfradkin/
Also on:    postgresql.org/message-id/000001c500d2$d892d200$797ba8c0@jfradkin

 · 

reply

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: jfradkin@wazagua.com, tgl@sss.pgh.pa.us
  Subject: Re: editors with colum positioning for debugging?
  In-Reply-To: <000001c500d2$d892d200$797ba8c0@jfradkin>

* 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