Thread: automatical start of postmaster for Windows2000

automatical start of postmaster for Windows2000

From
miwa@cis.iwate-u.ac.jp (Jouji Miwa)
Date:
Dear PostgreSQL Adminstrators,

Now I operate manually to run postmaster.
If the postmaster is automatically run, it is easy for a guest to use.

Please tell me how to run automatically postmaster program for Windows2000.

OS: Windows2000
DB: PostgreSQL 7.1.2
SH: Cygwin B20
Now command : postmaster -i &
--
Jouji Miwa (Iwate Univ., JAPAN)

Re: automatical start of postmaster for Windows2000

From
"Henshall, Stuart - WCP"
Date:
If you upgrade to the latest version of cygwin, there is a program called
cygrunsrv which allows you to setup cygwin programs as services. It is worth
noting there is (was?) a problem with cygwin shutdown leaving the
postmaster.pid file due to windows issueing SIGHUP. I think the latest
cygwin snap shots might prevent this and the prebuilt binary may be patched
to ignore SIGHUP. Have a look at the pgsql-cygwin list for more info.
Hope this helps,
- Stuart

> -----Original Message-----
> From:    miwa@cis.iwate-u.ac.jp [SMTP:miwa@cis.iwate-u.ac.jp]
> Sent:    Friday, August 31, 2001 4:12 AM
> To:    pgsql-admin@postgresql.org
> Subject:    automatical start of postmaster for Windows2000
>
> Dear PostgreSQL Adminstrators,
>
> Now I operate manually to run postmaster.
> If the postmaster is automatically run, it is easy for a guest to use.
>
> Please tell me how to run automatically postmaster program for
> Windows2000.
>
> OS: Windows2000
> DB: PostgreSQL 7.1.2
> SH: Cygwin B20
> Now command : postmaster -i &
> --
> Jouji Miwa (Iwate Univ., JAPAN)