| From: | Richard van den Berg <richard(dot)vandenberg(at)trust-factory(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | pg_ctl start leaves dos window open |
| Date: | 2005-11-23 10:39:49 |
| Message-ID: | OFD259D29A.5EA2CE9D-ONC12570C2.003931D0-C12570C2.003A8F76@trust-factory.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
I am running PostgreSQL 8.1 on Windows Server 2003. Our setup should allow
a normal (non-administrator) user to start the database. Since the user is
not allowed to start services, I am trying a direct "pg_ctl start"
approach. However, running this from a shortcut, leaves a dos window open
with the words "postmaster starting". After stopping postgres, "logger
shutting down" appears before the window is closed. I have tried to
redirect stdout, stderr and stdin to nul, but this just makes the window
empty, it still does not disappear until the database is stopped. Using
the -l option of pg_ctl also does not help.
Is there a way for this setup to work, without the dos box being visable
all the time? I use system logging, so I don't need the stdout/stderr of
pg_ctl.
Sincerely,
Richard van den Berg, CISSP
-------------------------------------------
Trust Factory B.V. | www.dna-portal.net
Bazarstraat 44a | www.trust-factory.com
2518AK The Hague | Phone: +31 70 3620684
The Netherlands | Fax : +31 70 3603009
-------------------------------------------
| From | Date | Subject | |
|---|---|---|---|
| Next Message | A.j. Langereis | 2005-11-23 11:07:01 | Re: PREPARE in bash scripts |
| Previous Message | Teodor Sigaev | 2005-11-23 10:37:41 | Re: TSearch2 / German compound words / UTF-8 |