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
a75ccd1d
Commit
a75ccd1d
authored
Nov 28, 2006
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some translator comments so that xgettext finds them and pgindent does
not destroy them. Maybe we can adjust pgindent sometime.
parent
b64d2d21
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
27 deletions
+20
-27
src/backend/parser/parse_clause.c
src/backend/parser/parse_clause.c
+3
-5
src/backend/parser/parse_coerce.c
src/backend/parser/parse_coerce.c
+3
-4
src/backend/postmaster/postmaster.c
src/backend/postmaster/postmaster.c
+10
-13
src/backend/utils/error/elog.c
src/backend/utils/error/elog.c
+4
-5
No files found.
src/backend/parser/parse_clause.c
View file @
a75ccd1d
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/parser/parse_clause.c,v 1.15
8 2006/10/04 00:29:55 momjian
Exp $
* $PostgreSQL: pgsql/src/backend/parser/parse_clause.c,v 1.15
9 2006/11/28 12:54:41 petere
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1229,10 +1229,8 @@ findTargetlistEntry(ParseState *pstate, Node *node, List **tlist, int clause)
ereport
(
ERROR
,
(
errcode
(
ERRCODE_AMBIGUOUS_COLUMN
),
/*
* translator: first %s is name of a SQL
* construct, eg ORDER BY
*/
/*------
translator: first %s is name of a SQL construct, eg ORDER BY */
errmsg
(
"%s
\"
%s
\"
is ambiguous"
,
clauseText
[
clause
],
name
),
parser_errposition
(
pstate
,
location
)));
...
...
src/backend/parser/parse_coerce.c
View file @
a75ccd1d
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/parser/parse_coerce.c,v 2.14
5 2006/10/11 20:21:03 tgl
Exp $
* $PostgreSQL: pgsql/src/backend/parser/parse_coerce.c,v 2.14
6 2006/11/28 12:54:41 petere
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -954,9 +954,8 @@ select_common_type(List *typeids, const char *context)
ereport
(
ERROR
,
(
errcode
(
ERRCODE_DATATYPE_MISMATCH
),
/*
* translator: first %s is name of a SQL construct, eg CASE
*/
/*------
translator: first %s is name of a SQL construct, eg CASE */
errmsg
(
"%s types %s and %s cannot be matched"
,
context
,
format_type_be
(
ptype
),
...
...
src/backend/postmaster/postmaster.c
View file @
a75ccd1d
...
...
@@ -37,7 +37,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.50
3 2006/11/21 20:59:52 tgl
Exp $
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.50
4 2006/11/28 12:54:41 petere
Exp $
*
* NOTES
*
...
...
@@ -2390,28 +2390,25 @@ LogChildExit(int lev, const char *procname, int pid, int exitstatus)
if
(
WIFEXITED
(
exitstatus
))
ereport
(
lev
,
/*
* translator: %s is a noun phrase describing a child process, such as
* "server process"
*/
/*------
translator: %s is a noun phrase describing a child process, such as
"server process" */
(
errmsg
(
"%s (PID %d) exited with exit code %d"
,
procname
,
pid
,
WEXITSTATUS
(
exitstatus
))));
else
if
(
WIFSIGNALED
(
exitstatus
))
ereport
(
lev
,
/*
* translator: %s is a noun phrase describing a child process, such as
* "server process"
*/
/*------
translator: %s is a noun phrase describing a child process, such as
"server process" */
(
errmsg
(
"%s (PID %d) was terminated by signal %d"
,
procname
,
pid
,
WTERMSIG
(
exitstatus
))));
else
ereport
(
lev
,
/*
* translator: %s is a noun phrase describing a child process, such as
* "server process"
*/
/*------
translator: %s is a noun phrase describing a child process, such as
"server process" */
(
errmsg
(
"%s (PID %d) exited with unexpected status %d"
,
procname
,
pid
,
exitstatus
)));
}
...
...
src/backend/utils/error/elog.c
View file @
a75ccd1d
...
...
@@ -42,7 +42,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/error/elog.c,v 1.17
7 2006/11/21 22:19:46 tgl
Exp $
* $PostgreSQL: pgsql/src/backend/utils/error/elog.c,v 1.17
8 2006/11/28 12:54:42 petere
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1957,11 +1957,10 @@ useful_strerror(int errnum)
*/
if
(
str
==
NULL
||
*
str
==
'\0'
)
{
/*
* translator: This string will be truncated at 47 characters
* expanded.
*/
snprintf
(
errorstr_buf
,
sizeof
(
errorstr_buf
),
/*------
translator: This string will be truncated at 47
characters expanded. */
_
(
"operating system error %d"
),
errnum
);
str
=
errorstr_buf
;
}
...
...
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