Thread: pgsql: Make psql's \sf and \ef honor ECHO_HIDDEN.

pgsql: Make psql's \sf and \ef honor ECHO_HIDDEN.

From
Andrew Dunstan
Date:
Make psql's \sf and \ef honor ECHO_HIDDEN.

These commands were calling the database direct rather than  calling
PSQLexec like other slash commands that needed database data.

The code is also changed not to pass the connection as a parameter to
the helper functions. It's available in a global variable, and that's
what PSQLexec uses.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e4d28175a13d47a747b33e87c0f808b2ef57c0cd

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