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

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

"Guillaume Smet" <guillaume(dot)smet(at)gmail(dot)com> writes:
> That's not what I had in mind. I was asking if the text of the query
> was available when logging the temp file usage. If so it could be good
> to add a DETAIL line with it directly and systematically when logging
> the temp file usage.

(1) you could make that argument about *any* log message whatsoever.

(2) there is already a generalized solution to this, it's called
log_min_error_statement.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

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

Browse pgsql-patches by date

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