Re: Varlena and binary - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Varlena and binary
Date
Msg-id 16683.1297095127@sss.pgh.pa.us
Whole thread Raw
In response to Varlena and binary  (Radosław Smogura <mail@smogura.eu>)
Responses Re: Varlena and binary  (Radosław Smogura <rsmogura@softperience.eu>)
Re: Varlena and binary  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Radosław Smogura <mail@smogura.eu> writes:
> I'm sending small patch for textsend. It reduces unnecessary copies, and 
> memory usage for duplication of varlena data. May you look?

This code will break the day that text and bytea don't have the same
internal representation, which seems likely to be soon.  Barring some
compelling evidence of a major performance improvement obtainable this
way, I don't think we want this patch.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: [PERFORM] pgbench to the MAXINT
Next
From: Tom Lane
Date:
Subject: Re: Where the Quals are actually 'List'ed