From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Mark unconditionally-safe implicit coercions as leakproof |
Date: | 2020-07-25 16:57:50 |
Message-ID: | 756655.1595696270@sss.pgh.pa.us |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Fri, Jul 24, 2020 at 12:17 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> I went through the system's built-in implicit coercions to see
>> which ones are unconditionally successful. These could all be
>> marked leakproof, as per attached patch.
> IMHO, this is a nice improvement.
Thanks; pushed. On second reading I found that there are a few
non-implicit coercions that could usefully be marked leakproof
as well --- notably float4_numeric and float8_numeric, which should
be error-free now that infinities can be converted.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2020-07-25 17:07:37 | Re: Default setting for enable_hashagg_disk |
Previous Message | Peter Geoghegan | 2020-07-25 16:39:50 | Re: Default setting for enable_hashagg_disk |