Merge duplicative code for \sf/\sv, \ef/\ev in psql/command.c.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: ca4e20fde87d182aa699c5384fb1b6091f6e5f79
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-09-06T21:32:40Z
Releases: 11.0
Merge duplicative code for \sf/\sv, \ef/\ev in psql/command.c.

Saves ~150 lines, costs little.

Fabien Coelho, reviewed by Victor Drobny

Discussion: https://postgr.es/m/alpine.DEB.2.20.1703311958001.14355@lancre

Files

PathChange+/−
src/bin/psql/command.c modified +87 −235

Discussion