1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-02 09:02:37 +03:00

Replace some appendStringInfo* calls with more appropriate variants

Author: David Rowley <dgrowleyml@gmail.com>
This commit is contained in:
Peter Eisentraut
2015-05-11 20:38:55 -04:00
parent b488c580ae
commit d02f16470f
6 changed files with 8 additions and 8 deletions

View File

@ -2174,7 +2174,7 @@ print_function_rettype(StringInfo buf, HeapTuple proctup)
appendStringInfoString(&rbuf, "TABLE(");
ntabargs = print_function_arguments(&rbuf, proctup, true, false);
if (ntabargs > 0)
appendStringInfoString(&rbuf, ")");
appendStringInfoChar(&rbuf, ')');
else
resetStringInfo(&rbuf);
}