diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-09-03 14:47:29 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-09-03 14:47:29 -0400 |
commit | fe66125974c58cc749ba441ff53e72216c819da0 (patch) | |
tree | 0d7f9816bc4ce1a333223586453180d1d062cdad /src/backend/commands/analyze.c | |
parent | 10f55448965f9af3a62070dce840c5c701561630 (diff) | |
download | postgresql-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/analyze.c')
-rw-r--r-- | src/backend/commands/analyze.c | 3 |
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; |