Hello,
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.
-- Fabien.