Re: [HACKERS] type coerce problem with lztext - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] type coerce problem with lztext
Date
Msg-id 200002271906.OAA01236@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] type coerce problem with lztext  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] type coerce problem with lztext  (wieck@debis.com (Jan Wieck))
List pgsql-hackers
> Yup, TypeCategory was the missing ingredient.  Seems to work now.
> 
> >     Yes, the 3043 bytes long rule action string got stored in 855
> >     bytes  in  pg_rewrite.  That's 71.9% compression rate on this
> >     attempt!
> 
> Over all the rules in the regression test database, I see:
> 
> regression=# select sum(length(ev_action)),sum(octet_length(ev_action)) from pg
> _rewrite;
>   sum   |  sum
> --------+-------
>  105270 | 38091
> (1 row)
> 
> or about 64% compression.  Not bad...

We clearly needed this for 7.0 because of the larger plans.  Good thing
Jan had it available, becuase I can imagine some major headaches for
people without it.

--  Bruce Momjian                        |  http://www.op.net/~candle 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
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] type coerce problem with lztext
Next
From: wieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] type coerce problem with lztext