Unix Technical Forum

Re: [GENERAL] Debugging SQL queries

This is a discussion on Re: [GENERAL] Debugging SQL queries within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> On Thu, May 11, 2006 at 09:39:59AM -0500, Tony Caduto wrote: > Tom Lane wrote: > > > >We ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 07:09 PM
Jim C. Nasby
 
Posts: n/a
Default Re: [GENERAL] Debugging SQL queries

On Thu, May 11, 2006 at 09:39:59AM -0500, Tony Caduto wrote:
> Tom Lane wrote:
> >
> >We have actually removed the "at character N" bit from the default message
> >format in CVS
> >

> Tom,
> What will the error format be for 8.2? Since the char number has been
> removed, what will it show?
> Line number?


bench=# SELECT blah
bench-# FROMx;
ERROR: parse error at or near "FROMx"
LINE 2: FROMx;
^
bench=#

Note that it's still there in the server logs, though...

ERROR: parse error at or near "FROMx" at character 13
--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:09 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com