mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +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:
@ -1085,7 +1085,7 @@ DefineIndex(Oid relationId,
|
||||
}
|
||||
|
||||
ereport(DEBUG1,
|
||||
(errmsg("%s %s will create implicit index \"%s\" for table \"%s\"",
|
||||
(errmsg_internal("%s %s will create implicit index \"%s\" for table \"%s\"",
|
||||
is_alter_table ? "ALTER TABLE / ADD" : "CREATE TABLE /",
|
||||
constraint_type,
|
||||
indexRelationName, RelationGetRelationName(rel))));
|
||||
|
Reference in New Issue
Block a user