Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
d4117de5
Commit
d4117de5
authored
Jun 10, 2004
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More quoting cleanups for Win32's pg_ctl.
parent
3485cc3a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/bin/pg_ctl/pg_ctl.c
src/bin/pg_ctl/pg_ctl.c
+4
-4
No files found.
src/bin/pg_ctl/pg_ctl.c
View file @
d4117de5
...
...
@@ -4,7 +4,7 @@
*
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.1
2 2004/06/10 18:02:36
momjian Exp $
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.1
3 2004/06/10 22:20:53
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -225,9 +225,9 @@ start_postmaster(void)
if
(
log_file
!=
NULL
)
/* Win32 needs START /B rather than "&" */
#ifndef WIN32
snprintf
(
cmd
,
MAXPGPATH
,
"%s
\"
%s
\"
%s <
%s
>>
\"
%s
\"
2>&1 &%s"
,
snprintf
(
cmd
,
MAXPGPATH
,
"%s
\"
%s
\"
%s <
\"
%s
\"
>>
\"
%s
\"
2>&1 &%s"
,
#else
snprintf
(
cmd
,
MAXPGPATH
,
"
START /B %s
\"
%s
\"
%s < %s
>>
\"
%s
\"
2>&1%s"
,
snprintf
(
cmd
,
MAXPGPATH
,
"
%sSTART /B
\"
%s
\"
%s <
\"
%s
\"
>>
\"
%s
\"
2>&1%s"
,
#endif
SYSTEMQUOTE
,
postgres_path
,
post_opts
,
DEVNULL
,
log_file
,
SYSTEMQUOTE
);
...
...
@@ -235,7 +235,7 @@ start_postmaster(void)
#ifndef WIN32
snprintf
(
cmd
,
MAXPGPATH
,
"%s
\"
%s
\"
%s <
\"
%s
\"
2>&1 &%s"
,
#else
snprintf
(
cmd
,
MAXPGPATH
,
"
START /B %s
\"
%s
\"
%s <
\"
%s
\"
2>&1%s"
,
snprintf
(
cmd
,
MAXPGPATH
,
"
%sSTART /B
\"
%s
\"
%s <
\"
%s
\"
2>&1%s"
,
#endif
SYSTEMQUOTE
,
postgres_path
,
post_opts
,
DEVNULL
,
SYSTEMQUOTE
);
return
system
(
cmd
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment