Re: fix log_min_duration_statement logic error
От | ohp@pyrenet.fr |
---|---|
Тема | Re: fix log_min_duration_statement logic error |
Дата | |
Msg-id | Pine.UW2.4.53.0310051836590.21079@server.pyrenet.fr обсуждение исходный текст |
Ответ на | Re: fix log_min_duration_statement logic error (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: fix log_min_duration_statement logic error
|
Список | pgsql-patches |
On Sat, 4 Oct 2003, Tom Lane wrote: > Date: Sat, 04 Oct 2003 15:43:34 -0400 > From: Tom Lane <tgl@sss.pgh.pa.us> > To: Bruce Momjian <pgman@candle.pha.pa.us> > Cc: Peter Eisentraut <peter_e@gmx.net>, Neil Conway <neilc@samurai.com>, > PostgreSQL Patches <pgsql-patches@postgresql.org> > Subject: Re: [PATCHES] fix log_min_duration_statement logic error > > Bruce Momjian <pgman@candle.pha.pa.us> writes: > > Tom Lane wrote: > >> I would prefer to see the log entries look like > >> > >> LOG: query: select * from pg_class; > >> LOG: duration: nn.nnn msec > > > The problem with two lines is that another log message could get between > > them. > > That was true already with log_statement and log_duration as separate > operations. People use log_pid to deal with it. Sorry to jump in... the log_pid is NOT ENOUGH where you have more than 30000 connections a day (witch is my case) There has been discussion as to have 1 Log file/database where are we on that? Is it dead? Thanks > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 9: the planner will ignore your desire to choose an index scan if your > joining column's datatypes do not match > -- Olivier PRENANT Tel: +33-5-61-50-97-00 (Work) 6, Chemin d'Harraud Turrou +33-5-61-50-97-01 (Fax) 31190 AUTERIVE +33-6-07-63-80-64 (GSM) FRANCE Email: ohp@pyrenet.fr ------------------------------------------------------------------------------ Make your life a dream, make your dream a reality. (St Exupery)
В списке pgsql-patches по дате отправления: