Re: [PATCHES] Patch to log usage of temporary files

From: "Guillaume Smet" <guillaume(dot)smet(at)gmail(dot)com>
To: "Bruce Momjian" <bruce(at)momjian(dot)us>
Cc: "Bill Moran" <wmoran(at)collaborativefusion(dot)com>, pgsql-patches(at)postgresql(dot)org, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] Patch to log usage of temporary files
Date: 2007-01-12 19:43:04
Message-ID: 1d4e0c10701121143y424af03bn6342cf090121ec06@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On 1/12/07, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> Usually people don't want th query unless they ask for it. One nify
> trick would be to print the query as DETAIL unless they are already
> logging queries, but that just seems too complex. If you want the
> query, why not just log them all?

Because they can't? On a highly loaded production server, people
usually don't log all the queries.

Anyway, if it's too complicated to implement it, perhaps it's not
worth it. I'm just curious to see how people will use this information
if they don't know why the temp file was created.

--
Guillaume

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Guillaume Smet 2007-01-12 19:48:17 Re: [HACKERS] [PATCHES] Patch to log usage of temporary files
Previous Message Bruce Momjian 2007-01-12 19:36:57 Re: [PATCHES] Patch to log usage of temporary

Browse pgsql-patches by date

  From Date Subject
Next Message Guillaume Smet 2007-01-12 19:48:17 Re: [HACKERS] [PATCHES] Patch to log usage of temporary files
Previous Message Bruce Momjian 2007-01-12 19:36:57 Re: [PATCHES] Patch to log usage of temporary