Make some strings translatable again that were accidentally removed in
earlier patch to fix "printf-arguments".
This commit is contained in:
parent
477c5d3b0d
commit
fa40ca42a6
@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/commands/trigger.c,v 1.243 2009/01/01 17:23:40 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/commands/trigger.c,v 1.244 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 */
|
||||
|
@ -10,7 +10,7 @@
|
||||
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.494 2009/01/16 13:27:24 heikki Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.495 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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user