Re: merge psql ef/ev sf/sv handling functions

Fabien COELHO <coelho@cri.ensmp.fr>

From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Masahiko Sawada <sawada.mshk@gmail.com>
Cc: PostgreSQL Developers <pgsql-hackers@postgresql.org>
Date: 2017-07-19T05:41:27Z
Lists: pgsql-hackers
>> While reviewing Corey's \if patch, I complained that there was some amount
>> of copy-paste in "psql/command.c".
>>
>> Here is an attempt at merging some functions which removes 160 lines of
>> code.
>
> Thank you for the patch. Is this an item for PG11?

Yes, as it is submitted to CF 2017-09.

-- 
Fabien.


Commits

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