Re: init script for redhat

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: init script for redhat
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E401388898@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на init script for redhat  ("Jeremy Palmer" <palmerj@xtra.co.nz>)
Ответы Re: init script for redhat
Re: init script for redhat
Список pgadmin-support

> -----Original Message-----
> From: pgadmin-support-owner@postgresql.org
> [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of
> Jeremy Palmer
> Sent: 04 June 2006 13:18
> To: pgadmin-support@postgresql.org
> Subject: Re: [pgadmin-support] init script for redhat
>
> Ok I have attached a modified init script, which now uses the postgres
> database. The logging is also redirected to pgagent.log in
> the pgsql home
> directory. Could this please be added to the source tree?

Sure - thanks.

Devrim; I was thinking of adding this to pkg/redhat, and leaving
installation up to the RPM (ie. Not installed by 'make install' because
it won't know what is or isn't an appropriate platform) - does that seem
reasonable to you?

> Note: because pgagent does not flush the buffer for every log
> message, the
> log file does not see anything until the buffer is written.
> Maybe pgagent
> could be changed to log to a file which is flushed
> periodically, instead of
> stdout?

A command line option to specify a logfile to use instead of stdout
would work, as might simply fflush()'ing stdout.

Care to work up a patch? :-)

Regards, Dave.


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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: Problems with SVN win32 build.
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: Postgres question