This is the mail archive of the cygwin-apps mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: postgresql-8.01 and 8.1 ready

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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]