From: | Ron <ronljohnsonjr(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | Re: Is this a bug ? |
Date: | 2019-10-23 16:09:51 |
Message-ID: | a2122ac3-2aaf-d69a-bdc8-e9bf0c7b5b55@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 10/23/19 11:00 AM, Tom Lane wrote:
> Ron <ronljohnsonjr(at)gmail(dot)com> writes:
>> On 10/23/19 10:51 AM, Geoff Winkless wrote:
>>> Two string constants that are only separated by whitespace with at
>>> least one newline are concatenated and effectively treated as if the
>>> string had been written as one constant.
>> Then -- since the 'e' is separated from 'd' by a comma, the result should be
>> "4", not "3".
> No, because your command is equivalent to
>
> select count(*) from bugtest where fld1 in ('a','b','cd','e');
>
> 'cd' does not match any of the table rows, so 3 is the correct answer.
Yes, that's my mistake.
>> No doubt: it's a bug, no matter what the Pg devs say.
> Complain to the SQL standards committee, not us.
As much as I hate to say it, MSFT was right to ignore this bug in the standard.
--
Angular momentum makes the world go 'round.
From | Date | Subject | |
---|---|---|---|
Next Message | David G. Johnston | 2019-10-23 16:11:54 | Re: Lookup Primary Key of Foreign Server's Table |
Previous Message | Ron | 2019-10-23 16:08:03 | Re: Is this a bug ? |