I have often found myself wanting that psql automatically switch between normal and \x mode depending on the width of the output. Would others find this useful? Attached is a crude demo patch. Enable with \pset expanded auto.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных