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 200701092237.l09MbeK25291@momjian.us
Whole thread Raw
In response to Re: [PATCHES] Patch to log usage of temporary files  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Bill Moran <wmoran@collaborativefusion.com> writes:
> > In response to Tom Lane <tgl@sss.pgh.pa.us>:
> >> and then zero
> >> can be the "off" position, and we need not worry about whether -1 is
> >> -1 byte or -1 kbyte.
>
> > All doing this does is make it impossible to log temp files of 1 byte.
>
> How you figure that?  It would make it impossible to log files of *zero*
> bytes, if anyone cared about that, but not 1 byte. 1 byte > 0 kbyte.

Uh, if you supply just a number with no units, is that bytes or
kilobytes?  Do you have to say "0B".

Even if we could get that to work, I don't think it is worth the
inconsistency with the other GUC entries to do it.  The units are
mentioned in the comments in postgresql.conf.

--
  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: Bruce Momjian
Date:
Subject: Re: [PATCHES] Last infomask bit