psql: Tweak xheader_width and pager_min_lines input parsing
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 19 May 2023 18:19:28 +0000 (20:19 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 19 May 2023 18:19:28 +0000 (20:19 +0200)
commited7e686a031e5b9469e0813af2f513dfdd77560b
treec5295833ca686397c685b37a463c4eb59a2dbba8
parent8e7912e73da008862180112cc6ba4d0aa5fa955d
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
src/bin/psql/command.c