Re: [PATCHES] Patch to log usage of temporary - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: [PATCHES] Patch to log usage of temporary
Date
Msg-id 200701122004.l0CK4ko01232@momjian.us
Whole thread Raw
List pgsql-patches
Guillaume Smet wrote:
> On 1/12/07, Bruce Momjian <bruce@momjian.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.

We have to balance functionality and ease of use.  That is the way I
analyze these issue.  We usually wait for a few people to request
additional functionality of this type, and then figure out the cleanest
way to implement it.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] [PATCHES] Patch to log usage of temporary files
Next
From: "Guillaume Smet"
Date:
Subject: Re: [PATCHES] Patch to log usage of temporary files