Re: init script for redhat

Поиск
Список
Период
Сортировка
От Jeremy Palmer
Тема Re: init script for redhat
Дата
Msg-id 20060604121829.IIEF9780.fep01.xtra.co.nz@creeping
обсуждение исходный текст
Ответ на Re: init script for redhat  ("Dave Page" <dpage@vale-housing.co.uk>)
Список pgadmin-support
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?

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?

Cheers Jeremy

> -----Original Message-----
> From: Dave Page [mailto:dpage@vale-housing.co.uk]
> Sent: Friday, 2 June 2006 2:24 a.m.
> To: Jeremy Palmer; pgadmin-support@postgresql.org
> Subject: RE: [pgadmin-support] init script for redhat
>
>
>
> > -----Original Message-----
> > From: pgadmin-support-owner@postgresql.org
> > [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of
> > Jeremy Palmer
> > Sent: 01 June 2006 11:39
> > To: pgadmin-support@postgresql.org
> > Subject: [pgadmin-support] init script for redhat
> >
> > Hi,
> >
> > I've hacked together a quick init script for pgagent. It
> > might be useful for
> > others use.
> >
> > It is hard coded to connect to the "pgadmin" database as the
> > "postgres"
>
> That should probably be the postgres database as well.
>
> > user. If others find this useful and have any suggested
> > improvements, then
> > maybe we should fix it up and make it part of the Redhat/Fedora dist?
>
> Don't see why not. When you're happy with it, please forward it to the
> list for addition to the source tree.
>
> Regards, Dave

Вложения

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

Предыдущее
От: "Syed Hassan Shah"
Дата:
Сообщение: I need help in installation of PostgreSQL 8.1 on Windows XP Professional
Следующее
От: "Jeremy Palmer"
Дата:
Сообщение: Problems with SVN win32 build.