From f4a8d74b7aafbcfc5193d0df3063acff45f964e7 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Fri, 7 Jun 2024 13:32:12 +0200 Subject: [PATCH] Remove stray newline printed after toast message This would print an ever increasing number of newlines between toast messages. --- pg_filedump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pg_filedump.c b/pg_filedump.c index ed2f35a..fb0e630 100644 --- a/pg_filedump.c +++ b/pg_filedump.c @@ -1402,7 +1402,7 @@ FormatItemBlock(char *buffer, FormatDecode(&buffer[itemOffset], itemSize); } - if (x == maxOffset) + if (!isToast && x == maxOffset) printf("\n"); } } -- 2.39.5