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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Merge duplicative code for \sf/\sv, \ef/\ev in psql/command.c.
Date: 2017-09-06 21:32:45
Message-ID: E1dphwD-0006ZM-Da@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ca4e20fde87d182aa699c5384fb1b6091f6e5f79

Modified Files
--------------
src/bin/psql/command.c | 322 +++++++++++++------------------------------------
1 file changed, 87 insertions(+), 235 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-09-06 21:52:19 pgsql: Sync function prototype with its actual definition.
Previous Message Simon Riggs 2017-09-06 20:48:10 pgsql: Allow SET STATISTICS on expression indexes