I wrote:> Attached is a libpq-portion-only version of a patch doing it this way.> I've not yet looked at the psql part of your patch.
Here's an update for the psql side.
regards, tom lane