pgsql: Make psql's \sf and \ef honor ECHO_HIDDEN. - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Make psql's \sf and \ef honor ECHO_HIDDEN.
Date
Msg-id E1Xrrtt-0005XW-DN@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: No need to call XLogEnsureRecordSpace when the relation is unlog
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Fix an error in psql that overcounted output lines.