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
8c8745b2
Commit
8c8745b2
authored
Jun 27, 2011
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some strings that were not marked for translation
parent
4635d3c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/bin/pg_ctl/pg_ctl.c
src/bin/pg_ctl/pg_ctl.c
+5
-5
No files found.
src/bin/pg_ctl/pg_ctl.c
View file @
8c8745b2
...
...
@@ -1570,7 +1570,7 @@ CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo, bool as_ser
* NT4 doesn't have CreateRestrictedToken, so just call ordinary
* CreateProcess
*/
write_stderr
(
"WARNING: cannot create restricted tokens on this platform
\n
"
);
write_stderr
(
_
(
"%s: WARNING: cannot create restricted tokens on this platform
\n
"
),
progname
);
if
(
Advapi32Handle
!=
NULL
)
FreeLibrary
(
Advapi32Handle
);
return
CreateProcess
(
NULL
,
cmd
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
si
,
processInfo
);
...
...
@@ -1579,7 +1579,7 @@ CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo, bool as_ser
/* Open the current token to use as a base for the restricted one */
if
(
!
OpenProcessToken
(
GetCurrentProcess
(),
TOKEN_ALL_ACCESS
,
&
origToken
))
{
write_stderr
(
"Failed to open process token: %lu
\n
"
,
GetLastError
());
write_stderr
(
_
(
"%s: could not open process token: %lu
\n
"
),
progname
,
GetLastError
());
return
0
;
}
...
...
@@ -1592,7 +1592,7 @@ CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo, bool as_ser
SECURITY_BUILTIN_DOMAIN_RID
,
DOMAIN_ALIAS_RID_POWER_USERS
,
0
,
0
,
0
,
0
,
0
,
0
,
&
dropSids
[
1
].
Sid
))
{
write_stderr
(
"Failed to allocate SIDs: %lu
\n
"
,
GetLastError
());
write_stderr
(
_
(
"%s: could not allocate SIDs: %lu
\n
"
),
progname
,
GetLastError
());
return
0
;
}
...
...
@@ -1611,7 +1611,7 @@ CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo, bool as_ser
if
(
!
b
)
{
write_stderr
(
"Failed to create restricted token: %lu
\n
"
,
GetLastError
());
write_stderr
(
_
(
"%s: could not create restricted token: %lu
\n
"
),
progname
,
GetLastError
());
return
0
;
}
...
...
@@ -1649,7 +1649,7 @@ CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo, bool as_ser
* Log error if we can't get version, or if we're on WinXP/2003 or
* newer
*/
write_stderr
(
"WARNING: could not locate all job object functions in system API
\n
"
);
write_stderr
(
_
(
"%s: WARNING: could not locate all job object functions in system API
\n
"
),
progname
);
}
else
{
...
...
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