| From: | Jim Nasby <jim(at)nasby(dot)net> |
|---|---|
| To: | Alexey Klyukin <alexk(at)commandprompt(dot)com> |
| Cc: | Noah Misch <noah(at)leadboat(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Identifying no-op length coercions |
| Date: | 2011-06-03 15:43:17 |
| Message-ID: | 0B21CCB4-3BF8-4952-A391-9B30F91D5CB0@nasby.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 need to ensure that both size and precision are not decreasing.
--
Jim C. Nasby, Database Architect jim(at)nasby(dot)net
512.569.9461 (cell) http://jim.nasby.net
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2011-06-03 16:03:40 | Re: BLOB support |
| Previous Message | Alexey Klyukin | 2011-06-03 15:29:18 | Re: Estimating total amount of shared memory required by postmaster |