Thread: Size of TODO.detail

Size of TODO.detail

From
Bruce Momjian
Date:
pgsql/docs/TODO.detail now is 1.1MB.  I just removed 'subquery' which
shrunk it from 1.5MB.  Comments?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


Re: Size of TODO.detail

From
Lamar Owen
Date:
Bruce Momjian wrote:
> 
> pgsql/docs/TODO.detail now is 1.1MB.  I just removed 'subquery' which
> shrunk it from 1.5MB.  Comments?

Yow!  Nice stuff in there, that is for sure.  Of course, that's alot of
space.  What to do? Remove all the unnecessary e-mail headers? 
Signatures?  etc?  excessive quotes? Isn't there a e-mail header
stripping utility around that can un-header things, leaving some but not
all?

Want me to edit some in my spare time?

According to some grepping and counting, Received: lines alone are
taking up 180K, or thereabouts. And that's just the first line, as most
Received: headers are multiline.  After adding up all the other X-
headers, I'm sure we could trim that down further.

It can also be compressed, if we want.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11


Re: Size of TODO.detail

From
Bruce Momjian
Date:
> Bruce Momjian wrote:
> > 
> > pgsql/docs/TODO.detail now is 1.1MB.  I just removed 'subquery' which
> > shrunk it from 1.5MB.  Comments?
> 
> Yow!  Nice stuff in there, that is for sure.  Of course, that's alot of
> space.  What to do? Remove all the unnecessary e-mail headers? 
> Signatures?  etc?  excessive quotes? Isn't there a e-mail header
> stripping utility around that can un-header things, leaving some but not
> all?

I just tried 'printmail' that strips off most of the unused stuff:
From: Bruce Momjian <pgman@candle.pha.pa.us>Subject: [HACKERS] Fix for RENAMETo: PostgreSQL-development
<pgsql-hackers@postgresql.org>Date:Sun, 12 Mar 2000 22:59:56 -0500 (EST)
 

---------------------------------------------------------------------------
#$ printmail tablespaces >/bjm/x#$ l /bjm/x-rw-r--r--  1 root  wheel  328855 Jan 30 12:16 /bjm/x#$ l tablespaces
-rw-r--r-- 1 postgres  wheel  495730 Jan 19 00:09 tablespaces
 

---------------------------------------------------------------------------

Doesn't seem like it saves enough, and it will prevent people from
reading the mailbox in their mail readers.

Compress takes it to 100k, which is much smaller.  Of course, the tar
file has it compress too, so pre-compressing it doesn't buy us anything.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


Re: Size of TODO.detail

From
Lamar Owen
Date:
Bruce Momjian wrote:
>Lamar Owen wrote: 
> > Yow!  Nice stuff in there, that is for sure.  Of course, that's alot of
> > space.  What to do? Remove all the unnecessary e-mail headers?
> I just tried 'printmail' that strips off most of the unused stuff:
[...]
> Doesn't seem like it saves enough, and it will prevent people from
> reading the mailbox in their mail readers.

Worth a try, at least.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11