Correct handling of blank/commented lines in PSQL interactive-mode history

When Who What
2021-12-01 17:27:07 Tom Lane (tgl) Closed in commitfest 2022-01 with status: Committed
2021-12-01 17:27:07 Tom Lane (tgl) Changed committer to tgl
2021-12-01 17:27:02 Tom Lane (tgl) Added tgl as reviewer
2021-12-01 14:25:44 Daniel Gustafsson (d_gustafsson) Closed in commitfest 2021-11 with status: Moved to next CF
2021-09-25 04:20:01 Yehui Wang (eyehwan) Removed eyehwan from reviewers
2021-09-25 04:19:55 Yehui Wang (eyehwan) Added eyehwan as reviewer
2021-09-06 23:19:24 Greg Nancarrow (gregn1234) Changed authors to Greg Nancarrow (gregn1234)
2021-09-06 23:19:24 Greg Nancarrow (gregn1234) Changed targetversion to 15
2021-09-06 23:18:51 Greg Nancarrow (gregn1234) Attached mail thread CAJcOf-cAdMVr7azeYR7nWKsNp7qhORzc84rV6d7m7knG5Hrtsw@mail.gmail.com
2021-09-06 23:18:50 Greg Nancarrow (gregn1234) Created patch record