From: | Christian Ullrich <chris(at)chrullrich(dot)net> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: PostgreSQL Service on Windows does not start. ~ "is not a valid Win32 application" |
Date: | 2013-11-25 08:42:54 |
Message-ID: | l6v2i3$32a$1@ger.gmane.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
* Tom Lane wrote:
> I looked at this patch a bit. I agree that we need to fix
> pgwin32_CommandLine to double-quote the executable name, but it needs a
> great deal more work than that :-(. Whoever wrote this code was
One additional issue is that the path to the service executable should
use backslashes exclusively. Currently, the last directory separator in
the service command line (the one before "pg_ctl.exe") is a forward
slash. I recently had trouble with Symantec Backup Exec (not sure which
versions are affected); it fails to do system state backups when a
service registered using pg_ctl is present on the system.
See <http://www.symantec.com/docs/TECH144413> for the same issue
involving a different service.
The EDB installer does not cause that problem, although I don't know if
that is because it does not use pg_ctl to register the service or
because it fixes the path afterwards.
--
Christian
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2013-11-25 09:01:29 | Re: Sequence Access Method WIP |
Previous Message | Etsuro Fujita | 2013-11-25 08:07:34 | Re: Show lossy heap block info in EXPLAIN ANALYZE for bitmap heap scan |