psql: Fix \gx when FETCH_COUNT is used

Stephen Frost <sfrost@snowman.net>

Commit: 51d0fa8ed93fe5befe91498f1a3eb5aede32677a
Author: Stephen Frost <sfrost@snowman.net>
Date: 2017-08-24T20:20:48Z
Releases: 10.0
psql: Fix \gx when FETCH_COUNT is used

Set expanded output when requested through \gx in ExecQueryUsingCursor()
(used when FETCH_COUNT is set).

Discussion: https://www.postgresql.org/message-id/CB7A53AA-5645-4BDD-AB07-4D22CD9D8FF1%40gmx.net
Author: Tobias Bussmann

Files

PathChange+/−
src/bin/psql/common.c modified +4 −0
src/test/regress/expected/psql.out modified +25 −0
src/test/regress/sql/psql.sql modified +10 −0

Discussion