BUG #3502: pg_ctl register translates \ to / - Mailing list pgsql-bugs

From Marc Frappier
Subject BUG #3502: pg_ctl register translates \ to /
Date
Msg-id 200707311507.l6VF7gUN080511@wwwmaster.postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged online:

Bug reference:      3502
Logged by:          Marc Frappier
Email address:      marc.frappier@usherbrooke.ca
PostgreSQL version: 8.2.4
Operating system:   windows XP
Description:        pg_ctl  register translates \ to /
Details:

I'm creating a windows service using the following command

"C:\Program Files\PostgreSQL\8.2\bin\pg_ctl.exe" register -N
"pgsql-8.2-test" -U bdpostgres -P "xx" -D "C:\data"

The created service is defined using / instead of \; hence it does not work
when I try to start it.

Here is the command executed by the generated service

C:/Program Files/PostgreSQL/8.2/bin/pg_ctl.exe runservice -N
"pgsql-8.2-test" -D "C:/data"

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #3494: may be Query Error: subplan does not executed
Next
From: Tom Lane
Date:
Subject: Re: BUG #3494: may be Query Error: subplan does not executed