Re: what \ command actually run

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: Steve Clark <sclark(at)netwolves(dot)com>
Cc: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: what \ command actually run
Date: 2013-08-16 14:13:47
Message-ID: 520E339B.8020509@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 08/16/2013 07:07 AM, Steve Clark wrote:
> Hello,
>
> I seem to recall seeing somewhere that you can turn on an option that
> will let you see what the \ command actually run, but googling and doing
> a quick scan of the docs didn't turn it up. Could someone assist me on
> this?

psql -E

http://www.postgresql.org/docs/9.2/interactive/app-psql.html

-E
--echo-hidden
Echo the actual queries generated by \d and other backslash commands.
You can use this to study psql's internal operations. This is equivalent
to setting the variable ECHO_HIDDEN from within psql.

>
> Thanks,
> --
> Stephen Clark
> *NetWolves*
> Director of Technology
> Phone: 813-579-3200
> Fax: 813-882-0209
> Email: steve(dot)clark(at)netwolves(dot)com
> http://www.netwolves.com

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2013-08-16 14:32:51 Re: Commit problem in read-commited isolation level
Previous Message Steve Clark 2013-08-16 14:07:14 what \ command actually run