PG Admin talks to me ... at last !

From: Laurent ROCHE <laurent_roche(at)yahoo(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: PG Admin talks to me ... at last !
Date: 2007-05-09 17:28:56
Message-ID: 820535.86284.qm@web34404.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi Dave, Guillaume and All,

Some of you (Dave & Guillaume) may remember I had a problem with PG Admin III 1.6, that did not display error messages (only the code but not the message it self) when PG Admin III 1.4 and psql will display the full error message.

After a bit of investigation with Guillaume we defined it was down to my server configuration (PG 8.1 on Ubuntu 6.06) but could not find what was wrong.

It looks like it was a locale configuration problem.
Last week, I had an upgrade of the locales package and then of PostgreSQL (going to 8.1.9): as a result my PostgreSQL would not run anymore.

After a lot of looking around I realised the error came from the locale definition, for some reason the collate order seems not to be defined in french. Hence with a definition of /etc/environement like
LANGUAGE=fr_FR
LC_MESSAGES=fr_FR
LC_COLLATE=POSIX
LANG=fr_FR

Not only I did not get any errors with my Linux commands, and PostgreSQL will start BUT also I now have the error messages (in english) from the PG Admin Query Tool ! !
HURRAH ! ! HURRAH ! ! HURRAH ! !

I don't understand why the locales definition on the server might change something in the way PG Admin display error messages (when others like PG Admin 1.4 and psql are not bothered) ... but it looks like it does !

Anyway, after being a pain for a while (in particular for Guillaume and Dave), I wanted to share my joice with you guys ... and that might help somebody else in the future.

Thanks to all who helped me fixing this

Have fun and ... sorry for the long email,
L(at)u
The Computing Froggy


___________________________________________________________________________
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


___________________________________________________________________________
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

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2007-05-09 20:04:56 Re: PG Admin talks to me ... at last !
Previous Message Dave Page 2007-05-09 14:25:23 Re: ALTER TABLE ALTER COLUMN in view