Re: Is this a bug ? - Mailing list pgsql-general

From Ron
Subject Re: Is this a bug ?
Date
Msg-id 98b7422b-7ee6-03b5-2312-cd310b763747@gmail.com
Whole thread Raw
In response to Re: Is this a bug ?  (Geoff Winkless <pgsqladmin@geoff.dj>)
Responses Re: Is this a bug ?
Re: Is this a bug ?
List pgsql-general
On 10/23/19 11:27 AM, Geoff Winkless wrote:
> On Wed, 23 Oct 2019 at 17:20, Geoff Winkless <pgsqladmin@geoff.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.



pgsql-general by date:

Previous
From: Geoff Winkless
Date:
Subject: Re: Is this a bug ?
Next
From: Adrian Klaver
Date:
Subject: Re: date function bug