postgresql-8.01 and 8.1 ready

Corinna Vinschen
Fri Sep 23 11:06:00 GMT 2005

On Sep 23 10:30, Gerrit P. Haase wrote:
> Reini Urban wrote:
> >Gerrit P. Haase schrieb:
> >
> >>Reini Urban wrote:
> >>
> >>>Installing as service is quite hard without sysbash, so I put 
> >>>everything into the sysvinit file /etc/rc.0/init.d/postgresql:
> >>>start|stop|status|initdb|install|uninstall|startlocal|restart|condrestart 
> >>>
> >>
> >>
> >>How does this work without logging into the system and starting a
> >>cygwin shell?
> >
> >
> >Not at all.
> >My sysvinit init.d script was enhanced for the installation / 
> >uninstallation steps.
> >pg_ctl does almost the same, but without using cygrunsrv.
> So it is not possible to run this as service?
> What is the problem with the method used in postgres 7?
> What is sysbash?

Good questions.  Ideally I'd assume that the new postgresql just works as
a replacement for the old postgresql so that existing service installations
using cygrunsrv are not suddenly broken.

Also, since sysvinit has no active maintainer anymore, according to Sergey,
it might also be dropped from the distro in a couple of weeks so you can't
rely on it.

For service installations, cygrunsrv is usually the way to go.  Lots of
changes has been made to it in 2001 by Fred Yankowski especially to get it
working smoothly with postgresql.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat, Inc.

More information about the Cygwin-apps mailing list