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
fa40ca42
Commit
fa40ca42
authored
Jan 21, 2009
by
Magnus Hagander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make some strings translatable again that were accidentally removed in
earlier patch to fix "printf-arguments".
parent
477c5d3b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
src/backend/commands/trigger.c
src/backend/commands/trigger.c
+4
-4
src/backend/utils/misc/guc.c
src/backend/utils/misc/guc.c
+3
-3
No files found.
src/backend/commands/trigger.c
View file @
fa40ca42
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/trigger.c,v 1.24
3 2009/01/01 17:23:40 momjian
Exp $
* $PostgreSQL: pgsql/src/backend/commands/trigger.c,v 1.24
4 2009/01/21 09:28:26 mha
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -614,7 +614,7 @@ ConvertTriggerToFK(CreateTrigStmt *stmt, Oid funcoid)
ereport
(
NOTICE
,
(
errmsg
(
"ignoring incomplete trigger group for constraint
\"
%s
\"
%s"
,
constr_name
,
buf
.
data
),
errdetail
(
"%s"
,
funcdescr
[
funcnum
]
)));
errdetail
(
"%s"
,
_
(
funcdescr
[
funcnum
])
)));
oldContext
=
MemoryContextSwitchTo
(
TopMemoryContext
);
info
=
(
OldTriggerInfo
*
)
palloc0
(
sizeof
(
OldTriggerInfo
));
info
->
args
=
copyObject
(
stmt
->
args
);
...
...
@@ -630,7 +630,7 @@ ConvertTriggerToFK(CreateTrigStmt *stmt, Oid funcoid)
ereport
(
NOTICE
,
(
errmsg
(
"ignoring incomplete trigger group for constraint
\"
%s
\"
%s"
,
constr_name
,
buf
.
data
),
errdetail
(
"%s"
,
funcdescr
[
funcnum
]
)));
errdetail
(
"%s"
,
_
(
funcdescr
[
funcnum
])
)));
}
else
{
...
...
@@ -642,7 +642,7 @@ ConvertTriggerToFK(CreateTrigStmt *stmt, Oid funcoid)
ereport
(
NOTICE
,
(
errmsg
(
"converting trigger group into constraint
\"
%s
\"
%s"
,
constr_name
,
buf
.
data
),
errdetail
(
"%s"
,
funcdescr
[
funcnum
]
)));
errdetail
(
"%s"
,
_
(
funcdescr
[
funcnum
])
)));
if
(
funcnum
==
2
)
{
/* This trigger is on the FK table */
...
...
src/backend/utils/misc/guc.c
View file @
fa40ca42
...
...
@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.49
4 2009/01/16 13:27:24 heikki
Exp $
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.49
5 2009/01/21 09:28:26 mha
Exp $
*
*--------------------------------------------------------------------
*/
...
...
@@ -4801,7 +4801,7 @@ set_config_option(const char *name, const char *value,
(
errcode
(
ERRCODE_INVALID_PARAMETER_VALUE
),
errmsg
(
"invalid value for parameter
\"
%s
\"
:
\"
%s
\"
"
,
name
,
value
),
hintmsg
?
errhint
(
"%s"
,
hintmsg
)
:
0
));
hintmsg
?
errhint
(
"%s"
,
_
(
hintmsg
)
)
:
0
));
return
false
;
}
if
(
newval
<
conf
->
min
||
newval
>
conf
->
max
)
...
...
@@ -5069,7 +5069,7 @@ set_config_option(const char *name, const char *value,
(
errcode
(
ERRCODE_INVALID_PARAMETER_VALUE
),
errmsg
(
"invalid value for parameter
\"
%s
\"
:
\"
%s
\"
"
,
name
,
value
),
hintmsg
?
errhint
(
"%s"
,
hintmsg
)
:
0
));
hintmsg
?
errhint
(
"%s"
,
_
(
hintmsg
)
)
:
0
));
if
(
hintmsg
)
pfree
(
hintmsg
);
...
...
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