Re: Logging successful SELECTS?

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Logging successful SELECTS?
Дата
Msg-id CAFj8pRDHJGfbocY4B4Od49fEOyiaRPRc_Uyj5GKx4VqC8PjfFQ@mail.gmail.com
обсуждение исходный текст
Ответ на Logging successful SELECTS?  (Matthew Vernon <matthew.vernon@sac.ac.uk>)
Список pgsql-general
2013/1/24 Matthew Vernon <matthew.vernon@sac.ac.uk>:
> Hi,
>
> I can get postgres to log unsuccessful queries, including the user who
> wrote them, but I'm missing how to get postgres to log the successful
> queries too (I don't need a store of the answer, just the query
> itself). How do I do this?


use log_min_duration_statement = 0

Regards

Pavel Stehule

>
> Thanks,
>
> Matthew
>
> --
> Matthew Vernon
> Quantitative Veterinary Epidemiologist
> Epidemiology Research Unit, SAC Inverness
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


В списке pgsql-general по дате отправления:

Предыдущее
От: Виктор Егоров
Дата:
Сообщение: Re: Logging successful SELECTS?
Следующее
От: "Gauthier, Dave"
Дата:
Сообщение: Re: DB alias ?