Re: Bug: When installing pgpass.conf does not get created under XP

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Bug: When installing pgpass.conf does not get created under XP
Дата
Msg-id 465865C7.1020303@postgresql.org
обсуждение исходный текст
Ответ на Bug: When installing pgpass.conf does not get created under XP  ("Athanasios E. Samaras" <ath.samaras@gmail.com>)
Ответы Re: Bug: When installing pgpass.conf does not get created under XP  ("Athanasios E. Samaras" <ath.samaras@gmail.com>)
Список pgadmin-support
Athanasios E. Samaras wrote:
> Hi there, I notice a bug in PGADMIN 1.6.3 when installing under on
> Windows XP box and the user account used is not in English.
> 
> More details:
> 
> Windows XP 32bit / SP2
> 
> User account Αθανάσιος Σαμαράς (Greek Name, most probably it will appear
> as????, but I assume that all the languages apart English must have the
> same issue)
> 
> Application data location: “C:\Documents and Settings\Αθανάσιος
> Σαμαράς\Application Data\”
> 
> Result: Can not open any database in pgadmin III due to error message
> “can not open file C:\Documents and Settings\Αθανάσιος
> Σαμαράς\Application Data\postgresql\pgpass.conf” and the program
> crashes, sending report back.
> 
> Reason: During installation the posgresql folder and pgpass.conf does
> not get created.
> 
> Workaround: go to application data and create the postgresql folder
> manually, create an empty file called pgpass.conf, since it is under
> your account there should not be any problems with privileges.

It's normal for the file not to exist - pgAdmin should work fine in
those cases. Is it failing only when you try to save the password? This
should also work if the file isn't there (it'll create it), but I wonder
if it's somehow getting confused by unicode characters in your username.
That doesn't explain why it works if you create it though... unless
there's something broken in the create file code path.

Regards, Dave



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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: backup/restore in Windows Vista
Следующее
От: "Athanasios E. Samaras"
Дата:
Сообщение: Re: Bug: When installing pgpass.conf does not get created under XP