Re: Loggingt psql meta-commands - Mailing list pgsql-general

From Andreas Kretschmer
Subject Re: Loggingt psql meta-commands
Date
Msg-id 20151210181420.GB18149@tux
Whole thread Raw
In response to Loggingt psql meta-commands  (oleg yusim <olegyusim@gmail.com>)
Responses Re: Loggingt psql meta-commands  (oleg yusim <olegyusim@gmail.com>)
List pgsql-general
oleg yusim <olegyusim@gmail.com> wrote:

> Greetings!
>
> I'm new to PostgreSQL, working on it from the point of view of Cyber Security
> assessment. In regards to the here is my question:
>
> Is it a way to enable logging for psql prompt meta-commands, such as \du, \dp,
> \z, etc?

start psql with -E


Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."   (unknown)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Loggingt psql meta-commands
Next
From: John R Pierce
Date:
Subject: Re: Loggingt psql meta-commands