pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
auto stop postmaster on cygwin
2+ messages / 2 participants
[nested] [flat]

* auto stop postmaster on cygwin
@ 2003-01-09 03:40 somphong s. <sp2gui@yahoo.com>
  2003-01-11 18:26 ` Re: auto stop postmaster on cygwin Tim Ellis <pvspam-postgres@hacklab.net>
  0 siblings, 1 reply; 2+ messages in thread

From: sp2gui@yahoo.com @ 2003-01-09 03:40 UTC (permalink / raw)
  To: pgsql-admin

i use postgresql 7.3 on cygwin on windows xp home.
i have found somebody suggestion to start pg process as service on XP.
i try and succesful on start as service , and auto start when start
PC.
but i must manually stop the postmaster before i shutdown or restart
PC.
if not the file postmaster.pid will left in /var/pgdata, then auto
start will fail.

1st question is : how to make postmaster process auto stop when
shutdown or restart PC?
2nd question is : if i forget to stop process , will have any problem
or not?

thank you

somphong s.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: auto stop postmaster on cygwin
  2003-01-09 03:40 auto stop postmaster on cygwin somphong s. <sp2gui@yahoo.com>
@ 2003-01-11 18:26 ` Tim Ellis <pvspam-postgres@hacklab.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Tim Ellis @ 2003-01-11 18:26 UTC (permalink / raw)
  To: somphong s. <sp2gui@yahoo.com>; +Cc: pgsql-admin

On Wed, 2003-01-08 at 22:40, somphong s. wrote:
> i use postgresql 7.3 on cygwin on windows xp home.
> i have found somebody suggestion to start pg process as service on XP.
> i try and succesful on start as service , and auto start when start
> PC.
> but i must manually stop the postmaster before i shutdown or restart
> PC.

Why? Is XP broken now?

On Win2K, you simply set the service to be "automatic" and it would
start at boot and stop at shutdown.

Could be a problem of Windows XP Home. Microsoft has purposefully
crippled XP Home in a number of ways and it wouldn't surprise me if
services aren't really stopped at shutdown anymore.

> 2nd question is : if i forget to stop process , will have any problem
> or not?

Odds are better that you will have problems if you don't stop the
process properly. Get the service-stopping working.

--
Tim Ellis
Senior Database Architect





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-01-11 18:26 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-01-09 03:40 auto stop postmaster on cygwin somphong s. <sp2gui@yahoo.com>
2003-01-11 18:26 ` Tim Ellis <pvspam-postgres@hacklab.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox