Martijn van Oosterhout wrote:
> Here is my patch to make psql handle multi-line output sanely.
> Instead of embedded newlines splattering your output across the
> screen, everything gets indented to the right column.
Shouldn't you use PQmblen() to determine whether an encoding is
single-byte, rather than having an enumerated list?
--
Peter Eisentraut
http://developer.postgresql.org/~petere/