]> granicus.if.org Git - postgresql/commit
Make psql's \sf and \ef honor ECHO_HIDDEN.
authorAndrew Dunstan <andrew@dunslane.net>
Fri, 21 Nov 2014 17:14:05 +0000 (12:14 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Fri, 21 Nov 2014 17:14:05 +0000 (12:14 -0500)
commite4d28175a13d47a747b33e87c0f808b2ef57c0cd
tree7a44f8a1814b3d3ea0657cf25f48d145942eedd8
parent622983ea6964fc55f1ad3063d3d7b8f5de8e8816
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.
src/bin/psql/command.c