Re: Varlena and binary

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Radosław Smogura <mail@smogura.eu>, PG Hackers <pgsql-hackers@postgresql.org>
Date: 2011-02-08T02:28:05Z
Lists: pgsql-hackers
On Mon, Feb 7, 2011 at 11:12 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> =?utf-8?q?Rados=C5=82aw_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.

Oh, really?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company