On Tuesday 26 Nov 2002 10:31 am, Areski wrote:
> Hello All,
>
>
> I would like to know if there are a way to see the lasts queries executed.
> For example, if you work with php then apache interact with the postmaster
> to run your queries. Then it's could be really interresting to intend to
> find
> the slowest queries of my web application.
>
> I know that in Mysql there are a log file in which it is stored !
There are settings in postgresql.conf to control what gets logged - I
personally like to log using the system logger, but that's not your only
option.
See the administrator's manual - 3.4.2. Logging and Debugging
--
Richard Huxton