Re: pgAdmin 1.8RC1 - failed to launch on Mac OS X

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: pgAdmin 1.8RC1 - failed to launch on Mac OS X
Дата
Msg-id 472F3710.7050801@postgresql.org
обсуждение исходный текст
Ответ на Re: pgAdmin 1.8RC1 - failed to launch on Mac OS X  (chokladzingo <sfransson@telia.com>)
Список pgadmin-support
chokladzingo wrote:
> 
> 
> giannibruno wrote:
>> Yep that's it!
>> Renamed pg_dump and it starts just fine.
>> Phill
>>
> 
> Yay, that worked fine for me as well! How will the renaming of pg_dump
> affect the usage of PostgreSQL? I renamed one in /usr/local/bin/ and one in
> pgAdmin 1.8 and 1.9 respectively. Is there any risk that some automated
> process in another part of pgAdmin or PostgreSQL will fail since this file
> cannot be found?

pgAdmin won't fail - though it will probably not offer you
backup/restore options.

pg_dumpall will fail in PostgreSQL though, as might any cron jobs oyu
have calling pg_dump.

One workaround that should work would be to create a shell script called
that echoes the same text as output from 'pg_dump --version' and point
pgAdmin's PostgreSQL Bin Dir config option (under File -> Options) to
the directory containing the script. That should fool pgAdmin into using
the shell script for backups (which won't work, but won't hang either),
which will cause it to leave the real pg_dump alone.

Regards, Dave.


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

Предыдущее
От: chokladzingo
Дата:
Сообщение: Re: pgAdmin 1.8RC1 - failed to launch on Mac OS X
Следующее
От: didier restrepo
Дата:
Сообщение: ayuda con errores