Unix Technical Forum

Double feature error messages

This is a discussion on Double feature error messages within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> Hi developers! Testing the pgAdmin III 1.8.0 Beta 5 (Sep 10 2007, rev: 6631). Client Win XP, host: Debian ...


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-18-2008, 09:49 AM
Erwin Brandstetter
 
Posts: n/a
Default Double feature error messages

Hi developers!

Testing the pgAdmin III 1.8.0 Beta 5 (Sep 10 2007, rev: 6631). Client
Win XP, host: Debian Etch / PG 8.2.4 and Debian Sarge / PG 8.1.8


Error messages are displayed twice. Just try any faulty statement to see.
One line seems redundant?


SELECT foo;

=== quote ===

FEHLER: Spalte »foo« existiert nicht

********** Error **********

FEHLER: Spalte »foo« existiert nicht
SQL state: 42703

=== unquote ===


Maybe helpful:
The first instance of the error message has two spaces after the colon,
the second has only one. Otherwise they are identical.


Regards
Erwin

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-18-2008, 09:49 AM
Erwin Brandstetter
 
Posts: n/a
Default Re: Double feature error messages

Erwin Brandstetter wrote:
> Error messages are displayed twice. Just try any faulty statement to see.

Forgot to mention: concerns SQL query dialog window.

/E

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-18-2008, 09:49 AM
Erwin Brandstetter
 
Posts: n/a
Default Re: Double feature error messages

I have checked on pgAdmin v1.6.3 and v1.7. Both print only one instance
of the message.
So this was introduced with v1.8 at some point, probably together with
the line "********** Error **********".

/E

---------------------------(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
  #4 (permalink)  
Old 04-18-2008, 09:49 AM
Dave Page
 
Posts: n/a
Default Re: Double feature error messages

Erwin Brandstetter wrote:
> Hi developers!
>
> Testing the pgAdmin III 1.8.0 Beta 5 (Sep 10 2007, rev: 6631). Client
> Win XP, host: Debian Etch / PG 8.2.4 and Debian Sarge / PG 8.1.8
>
>
> Error messages are displayed twice. Just try any faulty statement to see.
> One line seems redundant?


That behavious makes more sense when you understand why it does it that
way. Whilst the queries are running, messages from the backend are
periodically collected and displayed by the query thread. This is the
first error you see:

ERROR: column "gerp" does not exist
LINE 1: select gerp
^

When the query completes the final status is displayed with the *****
Error ***** title:

********** Error **********

ERROR: column "gerp" does not exist
SQL state: 42703
Character: 13

This largely comes about from some refactoring of the query tool when we
discovered that you couldn't run more than 2 queries concurrently. I've
yet to figure out a better way of handling this.

BTW; I've committed a change to use the SQL Font (normally fixed width)
for the messages and history panes - makes the carat error markers work
more meaningfully!!

Thanks, Dave

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-18-2008, 09:49 AM
Erwin Brandstetter
 
Posts: n/a
Default Re: Double feature error messages

dpage@postgresql.org wrote:
> (...)
> This largely comes about from some refactoring of the query tool when we
> discovered that you couldn't run more than 2 queries concurrently. I've
> yet to figure out a better way of handling this.
>


Well, it doesn't break anything. It's just a bit confusing.


> BTW; I've committed a change to use the SQL Font (normally fixed width)
> for the messages and history panes - makes the carat error markers work
> more meaningfully!!
>


Sounds like a nice by-product.


Regards
Erwin

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

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 01:06 AM.


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