psql: Tweak xheader_width and pager_min_lines input parsing

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: ed7e686a031e5b9469e0813af2f513dfdd77560b
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2023-05-19T18:19:28Z
Releases: 16.0
psql: Tweak xheader_width and pager_min_lines input parsing

Don't throw away the previous value when an invalid value is proposed.

Discussion: https://postgr.es/m/20230519110205.updpbjiuqgbox6gp@alvherre.pgsql

Files

PathChange+/−
src/bin/psql/command.c modified +9 −5

Discussion