Обсуждение: Re : No text for error messages only numbers

Поиск
Список
Период
Сортировка

Re : No text for error messages only numbers

От
Laurent ROCHE
Дата:
Sorry, more details :
I am running PgAdmin III on Windows XP  against a PosgreSQL 8.1 server on Linux (Ubuntu 6.06).
I have downloaded PgAdmin  from the PgAdmin web site.

I am indeed talking about the Query tool.
If I type in and run :
select sdfgdfh

I get the following error message:
ERREUR:
SQL state: 42703

I would suspect it is something to do with localization and languages.
In version 1.4.3,  I get the error message:
ERREUR:  la colonne «sdfgdfh» n'existe pas

The error message is (quite clerarly ;-) !) in French, even though I have set up PgAdmin in English Language (File=>
Options=> General user language: (en_us) English . 

If anybody could find a way for me to use version 1.6.1 and to get error messages (in French or English, I don't care),
thatwould be a great help. 


Cheers,
L@u
The Travelling Froggy
TravellingFroggy.info

----- Message d'origine ----
De : Dave Page <dpage@postgresql.org>
À : Laurent ROCHE <laurent_roche@yahoo.com>
Cc : pgadmin-support@postgresql.org
Envoyé le : Mardi, 5 Décembre 2006, 14h03mn 00s
Objet : Re: [pgadmin-support] No text for error messages only numbers

Laurent ROCHE wrote:
> Hi,
>
> Since I have upgraded to version 1.6.1, I do not get error messages text any more, only error numbers ! ? !
>
> Is there something to configure to get the text too ?

What OS? Did you compile it yourself? I assume you're talking about the
query tool, in which case you should get output such as:

-- Executing query:
select * form pg_class

ERROR: syntax error at or near "form"
SQL state: 42601
Character: 10


(that's on the History tab).

Regards Dave

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






___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com


Re: Re : No text for error messages only numbers

От
Dave Page
Дата:
Laurent ROCHE wrote:
> Sorry, more details :
> I am running PgAdmin III on Windows XP  against a PosgreSQL 8.1 server on Linux (Ubuntu 6.06).
> I have downloaded PgAdmin  from the PgAdmin web site.
> 
> I am indeed talking about the Query tool.
> If I type in and run :
> select sdfgdfh
> 
> I get the following error message:
> ERREUR: 
> SQL state: 42703
> 
> I would suspect it is something to do with localization and languages.
> In version 1.4.3,  I get the error message:
> ERREUR:  la colonne «sdfgdfh» n'existe pas
> 
> The error message is (quite clerarly ;-) !) in French, even though I have set up PgAdmin in English Language (File=>
Options=> General user language: (en_us) English .
 
> 
> If anybody could find a way for me to use version 1.6.1 and to get error messages (in French or English, I don't
care),that would be a great help.
 

The error message comes from PostgreSQL, so it'll ve in whatever 
language the server sends to pgAdmin.

Guillaume - are you able to test this? Any idea what's going on?

Regards, Dave.


Re: Re : No text for error messages only numbers

От
Guillaume Lelarge
Дата:
Dave Page a ecrit le 05/12/2006 15:19:
> Laurent ROCHE wrote:
>> Sorry, more details :
>> I am running PgAdmin III on Windows XP  against a PosgreSQL 8.1 server 
>> on Linux (Ubuntu 6.06).
>> I have downloaded PgAdmin  from the PgAdmin web site.
>>
>> I am indeed talking about the Query tool.
>> If I type in and run :
>> select sdfgdfh
>>
>> I get the following error message:
>> ERREUR: SQL state: 42703
>>
>> I would suspect it is something to do with localization and languages.
>> In version 1.4.3,  I get the error message:
>> ERREUR:  la colonne «sdfgdfh» n'existe pas
>>
>> The error message is (quite clerarly ;-) !) in French, even though I 
>> have set up PgAdmin in English Language (File=> Options => General 
>> user language: (en_us) English .
>>
>> If anybody could find a way for me to use version 1.6.1 and to get 
>> error messages (in French or English, I don't care), that would be a 
>> great help.
> 
> The error message comes from PostgreSQL, so it'll ve in whatever 
> language the server sends to pgAdmin.
> 
> Guillaume - are you able to test this? Any idea what's going on?
> 

I was unable to reproduce it. I tried with differents releases and I 
always had the complete message. Laurent, can you tell me exactly which 
releases you used ? 8.1.5 for PostgreSQL and pgAdmin 1.6.1 ? or 
something else ?

Regards.


-- 
Guillaume.