do_text_output_multiline is broken for text not ending in \n

Edit
Title do_text_output_multiline is broken for text not ending in \n
Topic Bug Fixes
Created 2016-05-22 05:40:16
Last modified 2016-05-27 16:32:24 (1 year, 2 months ago)
Latest email 2016-05-23 18:21:59 (1 year, 2 months ago)
Status
2016-09: Committed
Authors David Rowley (davidrowley)
Reviewers Become reviewer
Committer Tom Lane (tgl)
Links
Emails
It's seems that the function "do_text_output_multiline" does not suit for format "line1\nline2\n...lineN".
First at 2016-05-20 07:13:03 by Hao Lee <mixtrue at gmail.com>
Latest at 2016-05-23 18:21:59 by Tom Lane <tgl at sss.pgh.pa.us>
Latest attachment (do_text_output_multiline_fix.patch) at 2016-05-20 12:12:24 from David Rowley <david.rowley at 2ndquadrant.com>
    Attachment (do_text_output_multiline_fix.patch) at 2016-05-20 12:12:24 from David Rowley <david.rowley at 2ndquadrant.com> (Patch: Yes)
History
When Who What
2016-05-27 16:32:24 Tom Lane (tgl) Closed in commitfest 2016-09 with status: Committed
2016-05-27 16:32:24 Tom Lane (tgl) Changed committer to tgl
2016-05-22 05:40:48 David Rowley (davidrowley) Changed authors to David Rowley (davidrowley)
2016-05-22 05:40:16 David Rowley (davidrowley) Attached mail thread CAGoxFiFPAGyPAJLcFxTB5cGhTW2yOVBDYeqDugYwV4dEd1L_Ag@mail.gmail.com
2016-05-22 05:40:16 David Rowley (davidrowley) Created patch record
Edit