Re: [HACKERS] type coerce problem with lztext

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Jan Wieck <wieck(at)debis(dot)com>, PostgreSQL HACKERS <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] type coerce problem with lztext
Date: 2000-02-27 19:06:21
Message-ID: 200002271906.OAA01236@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2000-02-27 20:36:09 Re: [HACKERS] type coerce problem with lztext
Previous Message Tom Lane 2000-02-27 18:58:31 Re: [HACKERS] type coerce problem with lztext