Re: BUG #1337: Problem running PostgreSQL as service, incl.

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: BUG #1337: Problem running PostgreSQL as service, incl.
Дата
Msg-id 1102295524.1494.8.camel@localhost.localdomain
обсуждение исходный текст
Ответ на BUG #1337: Problem running PostgreSQL as service, incl. fix  ("PostgreSQL Bugs List" <pgsql-bugs@postgresql.org>)
Список pgsql-bugs
On Sun, 2004-12-05 at 09:43 +0000, PostgreSQL Bugs List wrote:
> In 8.0 RC1, because of bug in -D parsing in pg_ctl I am unable to run
> postgres as service when I have space in data path - when i register it with
> pg_ctl register -D "C:\Program Files\PostgreSQL\data" and try to run it then
> it won't work and in event log I have this: pg_ctl: no database directory
> specified and environment variable PGDATA unset.
>
> I have found very simple solution, just added + 1 in one of xmallocs and it
> seems to work, diff follows:

Thanks, fixed. (I used a slightly different fix: xstrdup() rather than
xmalloc() + strcpy() ).

-Neil

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

Предыдущее
От: Theodore Petrosky
Дата:
Сообщение: Re: RC1 and OSX
Следующее
От: Michael Fuhr
Дата:
Сообщение: plperl problems with DBD::PgSPI