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
e656f5d2
Commit
e656f5d2
authored
Nov 28, 2014
by
Fujii Masao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mark response messages for translation in pg_isready.
Back-patch to 9.3 where pg_isready was added. Mats Erik Andersson
parent
c168ba31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/bin/scripts/pg_isready.c
src/bin/scripts/pg_isready.c
+5
-5
No files found.
src/bin/scripts/pg_isready.c
View file @
e656f5d2
...
@@ -196,19 +196,19 @@ main(int argc, char **argv)
...
@@ -196,19 +196,19 @@ main(int argc, char **argv)
switch
(
rv
)
switch
(
rv
)
{
{
case
PQPING_OK
:
case
PQPING_OK
:
printf
(
"accepting connections
\n
"
);
printf
(
_
(
"accepting connections
\n
"
)
);
break
;
break
;
case
PQPING_REJECT
:
case
PQPING_REJECT
:
printf
(
"rejecting connections
\n
"
);
printf
(
_
(
"rejecting connections
\n
"
)
);
break
;
break
;
case
PQPING_NO_RESPONSE
:
case
PQPING_NO_RESPONSE
:
printf
(
"no response
\n
"
);
printf
(
_
(
"no response
\n
"
)
);
break
;
break
;
case
PQPING_NO_ATTEMPT
:
case
PQPING_NO_ATTEMPT
:
printf
(
"no attempt
\n
"
);
printf
(
_
(
"no attempt
\n
"
)
);
break
;
break
;
default:
default:
printf
(
"unknown
\n
"
);
printf
(
_
(
"unknown
\n
"
)
);
}
}
}
}
...
...
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