From: | Ron <ronljohnsonjr(at)gmail(dot)com> |
---|---|
To: | "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Is this a bug ? |
Date: | 2019-10-23 16:30:25 |
Message-ID: | 98b7422b-7ee6-03b5-2312-cd310b763747@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 10/23/19 11:27 AM, Geoff Winkless wrote:
> On Wed, 23 Oct 2019 at 17:20, Geoff Winkless <pgsqladmin(at)geoff(dot)dj> wrote:
>> For what it's worth, I can see a value to having
>>
>> SELECT 'this is quite a long string'
>> 'which I've joined together '
>> 'across multiple lines';
>>
>> although the advantage of it vs using a concat operator is slim.
> As an aside, Postgres isn't the only DB to follow the standard here.
>
> mysql> select 'hello'
> -> ' there';
> +-------------+
> | hello |
> +-------------+
> | hello there |
> +-------------+
This is the kind of weird stuff that we mocked mysql for.
This too would have been roundly mocked if discovered in mysql:
postgres=# select to_date('2018150X','YYYYMMDD');
to_date
------------
2019-03-03
(1 row)
--
Angular momentum makes the world go 'round.
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2019-10-23 16:31:51 | Re: date function bug |
Previous Message | Geoff Winkless | 2019-10-23 16:27:51 | Re: Is this a bug ? |