* Append a newline after removing any existing trailing newlines */
| 1989 | * Append a newline after removing any existing trailing newlines |
| 1990 | */ |
| 1991 | static void |
| 1992 | appendStringInfoLineSeparator(StringInfo str) |
| 1993 | { |
| 1994 | chopStringInfoNewlines(str); |
| 1995 | if (str->len > 0) |
| 1996 | appendStringInfoChar(str, '\n'); |
| 1997 | } |
| 1998 | |
| 1999 | |
| 2000 | /* |
no test coverage detected