[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pgsql-bugs
Subject:    Re: Reported type mismatch improperly
From:       Andy Fan <zhihui.fan1213 () gmail ! com>
Date:       2020-07-26 9:41:36
Message-ID: CAKU4AWotg2V6uaZU-idMVuJ41nZ=QsUtKcKHcjnu=X7RoJNc_Q () mail ! gmail ! com
[Download RAW message or body]

On Sun, Jul 19, 2020 at 10:25 AM Andy Fan <zhihui.fan1213@gmail.com> wrote:

>
>
> On Sat, Jul 18, 2020 at 12:28 PM David G. Johnston <
> david.g.johnston@gmail.com> wrote:
>
>> On Friday, July 17, 2020, Andy Fan <zhihui.fan1213@gmail.com> wrote:
>>
>>>
>>>
>>> On Sat, Jul 18, 2020 at 12:23 AM David G. Johnston <
>>> david.g.johnston@gmail.com> wrote:
>>>
>>>>
>>>> - which they still need to be aware of even though this patch removes
>>>> one situation where it matters.
>>>>
>>>
>>> Can you provide an example of this?  If it is not very troublesome,  I'd
>>> like to fix both.
>>>
>>
>> Nothing concrete off hand, more of an impression.
>>
>> David J.
>>
>
> Improve some comments and test cases, and submit it
> https://commitfest.postgresql.org/29/2653/ .
>

I have withdrawn the patch in commitfest since the current solution is bad.
To fix it I have
to spend more time on tranformExpr part.  I can open a new one if I get it
really fixed.  Now
I have let the user cast the null to int explicitly.

-- 
Best Regards
Andy Fan

[Attachment #3 (text/html)]

<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Sun, Jul 19, 2020 at 10:25 AM Andy Fan &lt;<a \
href="mailto:zhihui.fan1213@gmail.com">zhihui.fan1213@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div \
dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On \
Sat, Jul 18, 2020 at 12:28 PM David G. Johnston &lt;<a \
href="mailto:david.g.johnston@gmail.com" \
target="_blank">david.g.johnston@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">On Friday, July 17, 2020, Andy Fan &lt;<a \
href="mailto:zhihui.fan1213@gmail.com" \
target="_blank">zhihui.fan1213@gmail.com</a>&gt; wrote:<br><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 18, 2020 at 12:23 \
AM David G. Johnston &lt;<a href="mailto:david.g.johnston@gmail.com" \
target="_blank">david.g.johnston@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div \
style="font-family:arial,helvetica,sans-serif"><br></div></div></div></blockquote><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div><div \
style="font-family:arial,helvetica,sans-serif">- which they still need to be aware of \
even though this patch removes one situation where it \
matters.</div></div></div></div></blockquote><div><br></div><div>Can you provide an \
example of this?   If it is not very troublesome,   I&#39;d like to fix \
both.</div></div></div></blockquote><div><br></div><div>Nothing concrete off hand, \
more of an impression.</div><div><br></div><div>David J.</div> \
</blockquote></div><div><br></div>Improve some comments and test cases, and submit it \
<a href="https://commitfest.postgresql.org/29/2653/" \
target="_blank">https://commitfest.postgresql.org/29/2653/</a>  .  \
</div></blockquote><div><br></div><div>I have withdrawn the patch in commitfest since \
the current solution  is bad. To fix it I have</div><div>to spend more time on \
tranformExpr part.   I can open a new one if I get it really fixed.   Now  \
</div><div>I have let the user cast the null to int explicitly.  \
</div><div><br></div></div>-- <br><div dir="ltr" class="gmail_signature"><div \
dir="ltr">Best Regards<div>Andy Fan</div></div></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic