Re: string.cpp assertion failure

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: string.cpp assertion failure
Дата
Msg-id 41AF63B5.4090705@pse-consulting.de
обсуждение исходный текст
Ответ на Re: string.cpp assertion failure  (Troels Arvin <troels@arvin.dk>)
Список pgadmin-support
Troels Arvin wrote:
> Hello,
> 
> On Wed, 01 Dec 2004 21:29:52 +0100, I wrote:
> 
>>Using pgadmin3 1.2.0[*] on Fedora Core 3, I get the following error when
>>trying to connect to a PostgreSQL 7.4.6 server on the same (local)host:
>>
>>  src/common/string.cpp(1060): assert "nLen != (size_t)-1" failed.
>>  Do you want to stop the program?
> 
> 
> I now tried again, using a non-asserting build[1] on Fedora Core 3. When
> working in the en_US locale, I get the following error when trying to
> connect to a PostgreSQL instance which hasn't been started:
>   Error connecting to the server: could not connect to server:
>     Connection refused
>     Is the server running on host "127.0.0.1" and accepting TCP/IP
>     connections on port 5432?
> 
> But when working in the da_DK locale, I get:
> 
>   En fejl opstod:
>   Error connecting to the server: 
> 
> Is my translation buggy, or is it due to something else?

This is the *backend* translation, not the pgadmin side.
It might be a good idea to check if the backend translation is ok, 
because incorrect format specifiers (probably %s for the server name in 
this case) might lead to undesired effects (AKA SEGV).

Regards,
Andreas


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

Предыдущее
От: "Mike G."
Дата:
Сообщение: Can't run ver 1.2 on XP
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: error building pgadmin 1.2 rc