Re: Identifying no-op length coercions - Mailing list pgsql-hackers

From Jim Nasby
Subject Re: Identifying no-op length coercions
Date
Msg-id 0B21CCB4-3BF8-4952-A391-9B30F91D5CB0@nasby.net
Whole thread Raw
In response to Re: Identifying no-op length coercions  (Alexey Klyukin <alexk@commandprompt.com>)
Responses Re: Identifying no-op length coercions
Re: Identifying no-op length coercions
Re: Identifying no-op length coercions
List pgsql-hackers
On Jun 3, 2011, at 10:11 AM, Alexey Klyukin wrote:
>> Is your interest in cheap varchar(N)->varchar(N+M) conversions specifically, or
>> in some broader application of this facility?
>
> Exactly varchar conversions.

Why limit it to varchar? Shouldn't we be able to do this for any varlena? The only challenge I see is numeric; we'd
needto ensure that both size and precision are not decreasing. 
--
Jim C. Nasby, Database Architect                   jim@nasby.net
512.569.9461 (cell)                         http://jim.nasby.net




pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Domains versus polymorphic functions, redux
Next
From: Robert Haas
Date:
Subject: Re: BLOB support