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

From Bruce Momjian
Subject Re: [PATCHES] Patch to log usage of temporary files
Date
Msg-id 200701111737.l0BHbIr23745@momjian.us
Whole thread Raw
In response to Re: [PATCHES] Patch to log usage of temporary files  ("Simon Riggs" <simon@2ndquadrant.com>)
Responses Re: [PATCHES] Patch to log usage of temporary files  ("Simon Riggs" <simon@2ndquadrant.com>)
List pgsql-hackers
Simon Riggs wrote:
> > > Also, I dunno much about DTrace, but I had the idea that you can't
> > > simply throw a PG_TRACE macro into the source and think you are done
> > > --- isn't there a file of probe declarations to add to?  Not to mention
> > > the documentation of what probes exist.
> >
> > I didn't like the macro in that area anyway.  It seems too adhock to
> > just throw it in when we have so few places monitored now.  Removed.
>
> err... why are we removing it? The patch should have included an
> addition to the probes.d file also, but that should be fixed, not
> removed. Don't we normally reject incomplete patches?
>
> You can't say we don't have many probes so we won't add one. There never
> will be many if we do that - its a circular argument.

The trace probe was incorrect 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.

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

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

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] Patch to log usage of temporary files
Next
From: Tom Lane
Date:
Subject: Re: wal buffers documentation -errata