Обсуждение: Show all commands executed

Поиск
Список
Период
Сортировка

Show all commands executed

От
"Anderson dos Santos Donda"
Дата:
How can I show on terminal all commands executed by my postgre server?

Example: My system execute the comand : 'SELECT * FROM clients' and the postgre show this commando on the terminal ?


Thanks

Re: Show all commands executed

От
Tom Lane
Дата:
"Anderson dos Santos Donda" <andersondonda@gmail.com> writes:
> How can I show on terminal all commands executed by my postgre server?

You could turn on log_statements and then tail -f the postmaster log.

            regards, tom lane