aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/indexcmds.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2019-09-03 14:47:29 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2019-09-03 14:47:29 -0400
commitfe66125974c58cc749ba441ff53e72216c819da0 (patch)
tree0d7f9816bc4ce1a333223586453180d1d062cdad /src/backend/commands/indexcmds.c
parent10f55448965f9af3a62070dce840c5c701561630 (diff)
downloadpostgresql-fe66125974c58cc749ba441ff53e72216c819da0.tar.gz
postgresql-fe66125974c58cc749ba441ff53e72216c819da0.zip
Remove 'msg' parameter from convert_tuples_by_name
The message was included as a parameter when this function was added in dcb2bda9b704, but I don't think it has ever served any useful purpose. Let's stop spreading it pointlessly. Reviewed by Amit Langote and Peter Eisentraut. Discussion: https://postgr.es/m/20190806224728.GA17233@alvherre.pgsql
Diffstat (limited to 'src/backend/commands/indexcmds.c')
-rw-r--r--src/backend/commands/indexcmds.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c
index ef953953711..147775558c1 100644
--- a/src/backend/commands/indexcmds.c
+++ b/src/backend/commands/indexcmds.c
@@ -1086,8 +1086,7 @@ DefineIndex(Oid relationId,
childidxs = RelationGetIndexList(childrel);
attmap =
convert_tuples_by_name_map(RelationGetDescr(childrel),
- parentDesc,
- gettext_noop("could not convert row type"));
+ parentDesc);
maplen = parentDesc->natts;
foreach(cell, childidxs)