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

From Simon Riggs
Subject Re: [HACKERS] [PATCHES] Patch to log usage of temporary files
Date
Msg-id 1168555510.3990.29.camel@silverbirch.site
Whole thread Raw
In response to Re: [HACKERS] [PATCHES] Patch to log usage of temporary files  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [HACKERS] [PATCHES] Patch to log usage of  (Bruce Momjian <bruce@momjian.us>)
List pgsql-patches
On Thu, 2007-01-11 at 12:37 -0500, Bruce Momjian wrote:

> The trace probe was incorrect

Yes, incomplete, no doubt. On that point you were 100% right to reject.

> and kind of at an odd place.  I don't
> think we want to go down the road of throwing trace in everwhere, do we?
> I would like to see a more systematic approach to it.

I guess my systematic approach was to add PG_TRACE to all new log points
from now on, so we have a choice of which trace/log mechanism to use.

I'm happy with everything but the portability of DTrace, however I'm
fond of the idea of sowing seeds for the time when other solutions will
work also.

I've a bag of PG_TRACE trace points to add sometime soon.

--
  Simon Riggs
  EnterpriseDB   http://www.enterprisedb.com



pgsql-patches by date:

Previous
From: Magnus Hagander
Date:
Subject: vcbuild - conditional regeneration
Next
From: "Simon Riggs"
Date:
Subject: Re: [HACKERS] [PATCHES] Patch to log usage of temporary files