summaryrefslogtreecommitdiff
path: root/src/backend/commands/analyze.c
diff options
context:
space:
mode:
authorAlvaro Herrera2019-09-03 18:47:29 +0000
committerAlvaro Herrera2019-09-03 18:47:29 +0000
commitfe66125974c58cc749ba441ff53e72216c819da0 (patch)
tree0d7f9816bc4ce1a333223586453180d1d062cdad /src/backend/commands/analyze.c
parent10f55448965f9af3a62070dce840c5c701561630 (diff)
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/[email protected]
Diffstat (limited to 'src/backend/commands/analyze.c')
-rw-r--r--src/backend/commands/analyze.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/commands/analyze.c b/src/backend/commands/analyze.c
index 92285e848f5..d2fdf447b65 100644
--- a/src/backend/commands/analyze.c
+++ b/src/backend/commands/analyze.c
@@ -1356,8 +1356,7 @@ acquire_inherited_sample_rows(Relation onerel, int elevel,
TupleConversionMap *map;
map = convert_tuples_by_name(RelationGetDescr(childrel),
- RelationGetDescr(onerel),
- gettext_noop("could not convert row type"));
+ RelationGetDescr(onerel));
if (map != NULL)
{
int j;