pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Verite <daniel@manitou-mail.org>
To: Pavlo Golub <pavlo.golub@cybertec.at>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16034: `\set ECHO all` doesn't work for \e command
Date: Wed, 02 Oct 2019 19:47:49 +0200
Message-ID: <b1ab70c7-3603-44fc-b5e3-a5b412fab941@manitou-mail.org> (raw)
In-Reply-To: <CAK7ymcLvRGwjHXdvQX7eJVLS3SigmuvAxLWex+xz3ciEJqizqQ@mail.gmail.com>

	Pavlo Golub wrote:

> As you can see, you have no idea what the query was executed.
> And sometimes you really want to know that, especially trying to analyze
> query were executed during a session.
> Agree, probably ECHO is not the best solution since it's intended not
> for interactive mode.

\set ECHO queries
would display them including immediately after \e in an interactive
session.


Best regards,
-- 
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite





view thread (8+ messages)  latest in thread

Message-ID: <b1ab70c7-3603-44fc-b5e3-a5b412fab941@manitou-mail.org>
Permalink:  ../b1ab70c7-3603-44fc-b5e3-a5b412fab941@manitou-mail.org/
Also on:    postgresql.org/message-id/b1ab70c7-3603-44fc-b5e3-a5b412fab941@manitou-mail.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: daniel@manitou-mail.org, pavlo.golub@cybertec.at, tgl@sss.pgh.pa.us
  Subject: Re: BUG #16034: `\set ECHO all` doesn't work for \e command
  In-Reply-To: <b1ab70c7-3603-44fc-b5e3-a5b412fab941@manitou-mail.org>
  References: <CAK7ymcLvRGwjHXdvQX7eJVLS3SigmuvAxLWex+xz3ciEJqizqQ@mail.gmail.com> <b1ab70c7-3603-44fc-b5e3-a5b412fab941@manitou-mail.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox