mirror of
https://github.com/postgres/postgres.git
synced 2025-08-27 07:42:10 +03:00
Use errmsg_internal for debug messages
An inconsistent set of debug-level messages was not using errmsg_internal(), thus uselessly exposing the messages to translation work. Fix those.
This commit is contained in:
@@ -3144,7 +3144,7 @@ check_default_partition_contents(Relation parent, Relation default_rel,
|
||||
if (PartConstraintImpliedByRelConstraint(default_rel, def_part_constraints))
|
||||
{
|
||||
ereport(DEBUG1,
|
||||
(errmsg("updated partition constraint for default partition \"%s\" is implied by existing constraints",
|
||||
(errmsg_internal("updated partition constraint for default partition \"%s\" is implied by existing constraints",
|
||||
RelationGetRelationName(default_rel))));
|
||||
return;
|
||||
}
|
||||
@@ -3195,7 +3195,7 @@ check_default_partition_contents(Relation parent, Relation default_rel,
|
||||
def_part_constraints))
|
||||
{
|
||||
ereport(DEBUG1,
|
||||
(errmsg("updated partition constraint for default partition \"%s\" is implied by existing constraints",
|
||||
(errmsg_internal("updated partition constraint for default partition \"%s\" is implied by existing constraints",
|
||||
RelationGetRelationName(part_rel))));
|
||||
|
||||
table_close(part_rel, NoLock);
|
||||
|
Reference in New Issue
Block a user