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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user