Re: Loggingt psql meta-commands

From: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Loggingt psql meta-commands
Date: 2015-12-10 18:14:20
Message-ID: 20151210181420.GB18149@tux
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

oleg yusim <olegyusim(at)gmail(dot)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°

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2015-12-10 19:40:35 Re: Loggingt psql meta-commands
Previous Message Adrian Klaver 2015-12-10 18:13:25 Re: Loggingt psql meta-commands