Re: Double feature error messages

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Double feature error messages
Дата
Msg-id 46E664AA.1040709@postgresql.org
обсуждение исходный текст
Ответ на Double feature error messages  (Erwin Brandstetter <brandstetter@falter.at>)
Ответы Re: Double feature error messages  (Erwin Brandstetter <brandstetter@falter.at>)
Список pgadmin-hackers
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

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by dpage: r6638 - trunk/pgadmin3/pgadmin/frm
Следующее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by dpage: r6639 - trunk/pgadmin3/pgadmin/db