Re: what \ command actually run - Mailing list pgsql-general

From Adrian Klaver
Subject Re: what \ command actually run
Date
Msg-id [email protected]
Whole thread Raw
In response to what \ command actually run  (Steve Clark <[email protected]>)
List 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: [email protected]
> http://www.netwolves.com


--
Adrian Klaver
[email protected]


pgsql-general by date:

Previous
From: Steve Clark
Date:
Subject: what \ command actually run
Next
From: Adrian Klaver
Date:
Subject: Re: Commit problem in read-commited isolation level