aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/indexcmds.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-02-17 11:24:46 +0100
committerPeter Eisentraut <peter@eisentraut.org>2021-02-17 11:33:25 +0100
commit0e392fcc0d5ab73c81d9284e7dda5acbb7ad6d21 (patch)
treebe7ce5174e2fe8f180c5853834066edc10666cbb /src/backend/commands/indexcmds.c
parente6b8e83b9f012cfbb3a2f96a7d2e74aebd299d4e (diff)
downloadpostgresql-0e392fcc0d5ab73c81d9284e7dda5acbb7ad6d21.tar.gz
postgresql-0e392fcc0d5ab73c81d9284e7dda5acbb7ad6d21.zip
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.
Diffstat (limited to 'src/backend/commands/indexcmds.c')
-rw-r--r--src/backend/commands/indexcmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c
index 127ba7835da..e1bed087d7c 100644
--- a/src/backend/commands/indexcmds.c
+++ b/src/backend/commands/indexcmds.c
@@ -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))));