Re: init script for redhat

From: "Jeremy Palmer" <palmerj(at)xtra(dot)co(dot)nz>
To: "'Dave Page'" <dpage(at)vale-housing(dot)co(dot)uk>, <pgadmin-support(at)postgresql(dot)org>
Subject: Re: init script for redhat
Date: 2006-06-16 09:31:32
Message-ID: 20060616093135.WIMR5275.fep03.xtra.co.nz@creeping
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

I have attached a small patch to the Redhat pgagent init script to use the
new log to file options.

Cheers
Jeremy

> -----Original Message-----
> From: Dave Page [mailto:dpage(at)vale-housing(dot)co(dot)uk]
> Sent: Friday, 16 June 2006 12:54 a.m.
> To: Jeremy Palmer; pgadmin-support(at)postgresql(dot)org
> Subject: RE: [pgadmin-support] init script for redhat
>
> Thanks, patch applied!
>
> Regards, Dave.
>
> > -----Original Message-----
> > From: Jeremy Palmer [mailto:palmerj(at)xtra(dot)co(dot)nz]
> > Sent: 15 June 2006 13:20
> > To: Dave Page; pgadmin-support(at)postgresql(dot)org
> > Subject: RE: [pgadmin-support] init script for redhat
> >
> > Ok, thanks for the tips. I have attached an updated patch.
> >
> > Cheers
> > Jeremy
> >
> > > -----Original Message-----
> > > From: Dave Page [mailto:dpage(at)vale-housing(dot)co(dot)uk]
> > > Sent: Friday, 16 June 2006 12:09 a.m.
> > > To: Jeremy Palmer; pgadmin-support(at)postgresql(dot)org
> > > Subject: RE: [pgadmin-support] init script for redhat
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Jeremy Palmer [mailto:palmerj(at)xtra(dot)co(dot)nz]
> > > > Sent: 15 June 2006 12:59
> > > > To: Dave Page; pgadmin-support(at)postgresql(dot)org
> > > > Subject: RE: [pgadmin-support] init script for redhat
> > > >
> > > > Hi Dave,
> > > >
> > > > Attached is a patch that allows pgagent to immediately log
> > > > messages to file.
> > > > I have tentatively changed the cmd line switch for logging
> > > > verbosity to "-s"
> > > > so "-l" can be used for the log file specification. I felt
> > > > that this was
> > > > more intuitive.
> > > >
> > > > If the patch is accepted, then a small change to the init
> > > > script will need
> > > > to be made to accommodate the file logging...
> > >
> > > Hi Jeremy,
> > >
> > > Looks good - just a couple of points...
> > >
> > > - Strings that are candidates for translation (when added
> > to pgAgent)
> > > should be wrapped in the _() macro, not wxT(); for example,
> > your 'cannot
> > > open the logfile' string.
> > >
> > > - Changing the command line options is unnacceptable except
> > in extreme
> > > cases because it can easily confuse people when upgrading,
> > expecially if
> > > they miss the change. Please use -l for the loglevel as per current
> > > releases and choose another letter for the logfile.
> > >
> > > Thanks, Dave.
> >

Attachment Content-Type Size
pgagent_init.patch application/octet-stream 395 bytes

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Jeremy Palmer 2006-06-16 09:42:02 Postgis Manual
Previous Message Christopher Kings-Lynne 2006-06-16 07:25:17 Re: Bug with passwords that include apostrophes