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

From Guillaume Smet
Subject Re: [HACKERS] [PATCHES] Patch to log usage of temporary files
Date
Msg-id 1d4e0c10701121148x47efed86h39c27622cf97e78a@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] [PATCHES] Patch to log usage of temporary files  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] [PATCHES] Patch to log usage of temporary files
List pgsql-patches
On 1/12/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Guillaume Smet" <guillaume.smet@gmail.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.

Yes, probably. The fact is I can't figure out how I will use this
information if I don't know why the file was created but perhaps I
should just wait this release and see how I can use it in a production
environment.

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

I didn't think of that when posting my message but Bruce seems to say
that we can't use it in this case.

--
Guillaume

pgsql-patches by date:

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