From: | Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | peter_e(at)gmx(dot)net (Peter Eisentraut), Roman Kapusta <roman(dot)kapusta(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #5126: convert_to preventing index scan |
Date: | 2009-10-22 21:14:38 |
Message-ID: | 87pr8fjflt.fsf@news-spur.riddles.org.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
>>>>> "Tom" == Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
>> convert_to is a builtin function. If there's a bug here, it's that
>> convert_to is defined as stable rather than immutable. (Sure it
>> depends on server_encoding, but that can't exactly change... if
>> there's any other reason why it's not immutable, I can't think
>> what it is.)
Tom> The conversion itself is dependent on changeable catalog
Tom> entries, ie, pg_conversion. So "stable" seems the appropriate
Tom> marking to me.
That sounds like a bit of a stretch to me... we treat lots of stuff as
immutable which is actually easier to change than pg_conversion entries
(OS locale definitions for example).
--
Andrew.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-10-22 22:08:29 | Re: BUG #5126: convert_to preventing index scan |
Previous Message | Dan O'Hara | 2009-10-22 19:54:56 | Re: BUG #5021: ts_parse doesn't recognize email addresses with underscores |