Hi all,
Attached is a patch for the following TODO item:
o Improve psql's handling of multi-line queries
  Currently, while \e saves a single query as one entry, interactive
  queries are saved one line at a time.  Ideally all queries
  whould be saved like \e does.
I know now's probably not a good time, but it caught my eye and looked
easy enough even for my rusty C.
Regards, Steve Woodcock