From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | wieck(at)debis(dot)com (Jan Wieck) |
Cc: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] generic LONG VARLENA |
Date: | 1999-12-13 03:31:44 |
Message-ID: | 7635.945055904@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
wieck(at)debis(dot)com (Jan Wieck) writes:
> Tom Lane wrote:
>> Per-type control doesn't strike me as interesting or useful.
> Isn't intended to be a runtime configuration. Just a
> temporary feature to restrict the attributes that can be
> moved off to those types, where WE know that the adt
> functions are prepared for them.
Oh, I see. Yeah, if we wanted to make an interim release where only
some datatypes were ready for long values, that would be a necessary
safety measure. But I'd rather plan on just getting it done in one
release.
>> BTW, it strikes me we should drop the "lztext" special datatype, and
>> instead have compression automatically applied to any varlena that
>> we are contemplating putting out-of-line. (If we're really lucky,
>> that saves us having to put the value out-of-line!)
> Nice idea, and should be technically easy since the
> compressor itself is separated from the lztext type. OTOH the
> user then will have no choice to prevent compression tries
> for performance reasons.
> So this feature again is something that IMHO should go into a
> configurable option.
Good point. You're right, there should be a per-datatype "don't
bother to try to compress this type" flag. (Is per-datatype the
right granularity?)
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Inoue | 1999-12-13 03:56:08 | RE: [HACKERS] LONG |
Previous Message | Jan Wieck | 1999-12-13 03:27:07 | Re: [HACKERS] generic LONG VARLENA |