pgsql: Rework echo_hidden for \sf and \ef from commit e4d2817.

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Rework echo_hidden for \sf and \ef from commit e4d2817.
Date: 2014-11-22 14:45:32
Message-ID: E1XsBwK-0000qw-9K@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Rework echo_hidden for \sf and \ef from commit e4d2817.

PSQLexec's error reporting turns out to be too verbose for this case, so
revert to using PQexec instead with minimal error reporting. Prior to
calling PQexec, we call a function that mimics just the echo_hidden
piece of PSQLexec.

Branch
------
master

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-11-22 21:01:40 pgsql: Fix mishandling of system columns in FDW queries.
Previous Message Tom Lane 2014-11-21 23:21:52 pgsql: Rearrange CustomScan API.